aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:20 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:20 -0700
commitce4935350268be3ef801a6d5abeb5e77bbd36aaf (patch)
tree979ed0ed505f7157f166496bb9197721af17f6bd /com32/cmenu
parent9e5b972022b8cdbcb99377ffb4a9c690c1341c65 (diff)
downloadsyslinux-ce4935350268be3ef801a6d5abeb5e77bbd36aaf.tar.gz
syslinux-ce4935350268be3ef801a6d5abeb5e77bbd36aaf.tar.xz
syslinux-ce4935350268be3ef801a6d5abeb5e77bbd36aaf.zip
Run Nindent on com32/cmenu/display.c
Automatically reformat com32/cmenu/display.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/cmenu')
-rw-r--r--com32/cmenu/display.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/com32/cmenu/display.c b/com32/cmenu/display.c
index 5391d7fd..3acdf6aa 100644
--- a/com32/cmenu/display.c
+++ b/com32/cmenu/display.c
@@ -22,16 +22,15 @@
#include <com32.h>
#include <stdio.h>
-
int main(int argc, char *argv[])
{
- if (argc < 2) {
- csprint("Usage: display.c32 <textfile>\n",0x07);
- exit(1);
- }
+ if (argc < 2) {
+ csprint("Usage: display.c32 <textfile>\n", 0x07);
+ exit(1);
+ }
- init_help(NULL); // No base dir, so all filenames must be absolute
- runhelp(argv[1]);
- close_help();
- return 0;
+ init_help(NULL); // No base dir, so all filenames must be absolute
+ runhelp(argv[1]);
+ close_help();
+ return 0;
}