mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 06:27:03 +01:00
Added 'const' attribute to the file name parameter to load/save
This name is not modified by the callee functions (and it should not be anyway), so let's make it official in the internal functions
This commit is contained in:
1 parent
225c99a6ca
commit
d1e1c13fa3
10 files changed
+22
-22
No files matched your search
+1
-1
@@ -35,7 +35,7 @@
|
||||
#include "imgformat.h"
|
||||
|
||||
|
||||
Bool RSaveImage(RImage * image, char *filename, char *format)
|
||||
Bool RSaveImage(RImage * image, const char *filename, const char *format)
|
||||
{
|
||||
if (strcmp(format, "XPM") != 0) {
|
||||
RErrorCode = RERR_BADFORMAT;
|
||||
|
||||
Reference in new issue
Block a user