mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
Change to the linux kernel coding style
for arq in `git ls-files *.c`; do
echo $arq;
indent -linux -l115 $arq;
done
The different line break at 115 columns is because
I use a widescreen monitor :-)
This commit is contained in:
19
wrlib/save.c
19
wrlib/save.c
@@ -30,20 +30,15 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
#include "wraster.h"
|
||||
|
||||
extern Bool RSaveXPM(RImage * image, char *filename);
|
||||
|
||||
extern Bool RSaveXPM(RImage *image, char *filename);
|
||||
|
||||
|
||||
Bool
|
||||
RSaveImage(RImage *image, char *filename, char *format)
|
||||
Bool RSaveImage(RImage * image, char *filename, char *format)
|
||||
{
|
||||
if (strcmp(format, "XPM")!=0) {
|
||||
RErrorCode = RERR_BADFORMAT;
|
||||
return False;
|
||||
}
|
||||
return RSaveXPM(image, filename);
|
||||
if (strcmp(format, "XPM") != 0) {
|
||||
RErrorCode = RERR_BADFORMAT;
|
||||
return False;
|
||||
}
|
||||
return RSaveXPM(image, filename);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user