diff options
author | marha <marha@users.sourceforge.net> | 2012-03-23 10:05:55 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-03-23 10:05:55 +0100 |
commit | 0f834b91a4768673833ab4917e87d86c237bb1a6 (patch) | |
tree | 363489504ed4b2d360259b8de4c9e392918e5d02 /xorg-server/hw/dmx/config/vdltodmx.c | |
parent | fc72edebf875378459368c5383d9023730cbca54 (diff) | |
download | vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.gz vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.bz2 vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.zip |
libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update
23 Mar 2012
Diffstat (limited to 'xorg-server/hw/dmx/config/vdltodmx.c')
-rw-r--r-- | xorg-server/hw/dmx/config/vdltodmx.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xorg-server/hw/dmx/config/vdltodmx.c b/xorg-server/hw/dmx/config/vdltodmx.c index 69563f16c..007416b33 100644 --- a/xorg-server/hw/dmx/config/vdltodmx.c +++ b/xorg-server/hw/dmx/config/vdltodmx.c @@ -36,18 +36,20 @@ #include "dmxprint.h" #include "dmxcompat.h" -int main(int argc, char **argv) +int +main(int argc, char **argv) { DMXConfigEntryPtr entry; - FILE *str; + FILE *str; - if (argc != 2 && argc !=3) { + if (argc != 2 && argc != 3) { fprintf(stderr, "Usage: vdltodmx inFile [outFile]\n"); return 1; } if (argc == 2) { str = stdout; - } else if (!(str = fopen(argv[2], "w"))) { + } + else if (!(str = fopen(argv[2], "w"))) { fprintf(stderr, "Cannot open %s for write\n", argv[2]); return 2; } |