1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

WRaster: Bugfix, added missing 'const' to RLoad* functions

Prototype of function changed in commit
  d1e1c13fa3
but two of them were not updated in the source.

Thanks to Rodolfo García Peñas for taking the time to test and report.
This commit is contained in:
Christophe CURIS
2013-05-03 08:50:51 +02:00
committed by Carlos R. Mafra
parent 602fbc9ee4
commit ac89706859
2 changed files with 2 additions and 2 deletions

View File

@@ -228,7 +228,7 @@ RImage *RGetImageFromXPMData(RContext * context, char **data)
return NULL;
}
RImage *RLoadXPM(RContext * context, char *file)
RImage *RLoadXPM(RContext * context, const char *file)
{
RImage *image = NULL;
char line[LINEWIDTH + 1];