aboutsummaryrefslogtreecommitdiffstats
path: root/com32/samples
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:31 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:31 -0700
commit7b18af70d3533e255c58ec6bf1e4fe195340f267 (patch)
tree63de3d41aa95c2f400b72669381140e861b029cf /com32/samples
parentdd36703d9614adbe3f3efe5dfa081d2f0d76d1f3 (diff)
downloadsyslinux-7b18af70d3533e255c58ec6bf1e4fe195340f267.tar.gz
syslinux-7b18af70d3533e255c58ec6bf1e4fe195340f267.tar.xz
syslinux-7b18af70d3533e255c58ec6bf1e4fe195340f267.zip
Run Nindent on com32/samples/fancyhello.c
Automatically reformat com32/samples/fancyhello.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/samples')
-rw-r--r--com32/samples/fancyhello.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/com32/samples/fancyhello.c b/com32/samples/fancyhello.c
index a6c5a375..850bff06 100644
--- a/com32/samples/fancyhello.c
+++ b/com32/samples/fancyhello.c
@@ -25,18 +25,18 @@
int main(void)
{
- char buffer[1024];
+ char buffer[1024];
- console_ansi_std();
+ console_ansi_std();
- printf("\033[1;33;44m *** \033[37mHello, World!\033[33m *** \033[0m\n");
+ printf("\033[1;33;44m *** \033[37mHello, World!\033[33m *** \033[0m\n");
- for (;;) {
- printf("\033[1;36m>\033[0m ");
- fgets(buffer, sizeof buffer, stdin);
- if ( !strncmp(buffer, "exit", 4) )
- break;
- printf("\033[1m:\033[0m %s", buffer);
- }
- return 0;
+ for (;;) {
+ printf("\033[1;36m>\033[0m ");
+ fgets(buffer, sizeof buffer, stdin);
+ if (!strncmp(buffer, "exit", 4))
+ break;
+ printf("\033[1m:\033[0m %s", buffer);
+ }
+ return 0;
}