From 96f58b6f382786dd3e9242aeaab0898d0e786d6b Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 21 Oct 2012 15:26:48 +0000 Subject: Make buildbot happy and add modelines info svn path=/trunk/; revision=45690 --- ui/win32/console_win32.c | 38 ++++++++++++++++++++++++++------------ ui/win32/console_win32.h | 13 +++++++++++++ 2 files changed, 39 insertions(+), 12 deletions(-) diff --git a/ui/win32/console_win32.c b/ui/win32/console_win32.c index 02927cb3b7..4e9b5a69dd 100644 --- a/ui/win32/console_win32.c +++ b/ui/win32/console_win32.c @@ -24,15 +24,12 @@ * */ - #include #include #include #include #include -#include -#include #include "console_win32.h" #include "../../console_io.h" @@ -44,11 +41,13 @@ #endif #include #include +#include +#include #endif #ifdef _WIN32 -static gboolean has_console; /* TRUE if app has console */ -static gboolean console_wait; /* "Press any key..." */ +static gboolean has_console; /* TRUE if app has console */ +static gboolean console_wait; /* "Press any key..." */ static gboolean stdin_capture = FALSE; /* Don't grab stdin & stdout if TRUE */ #endif @@ -125,33 +124,48 @@ destroy_console(void) void set_console_wait(gboolean set_console_wait) { - console_wait = set_console_wait; + console_wait = set_console_wait; } gboolean get_console_wait(void) { - return console_wait; + return console_wait; } void set_has_console(gboolean set_has_console) { - has_console = has_console; + has_console = has_console; } + gboolean get_has_console(void) { - return has_console; + return has_console; } void set_stdin_capture(gboolean set_stdin_capture) { - stdin_capture = set_stdin_capture; + stdin_capture = set_stdin_capture; } + gboolean get_stdin_capture(void) { - return stdin_capture; + return stdin_capture; } -#endif /* _WIN32 */ \ No newline at end of file +#endif /* _WIN32 */ + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 2 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=2 tabstop=8 expandtab: + * :indentSize=2:tabSize=8:noTabs=true: + */ diff --git a/ui/win32/console_win32.h b/ui/win32/console_win32.h index 74f8c331f5..bc4c61e80e 100644 --- a/ui/win32/console_win32.h +++ b/ui/win32/console_win32.h @@ -77,3 +77,16 @@ gboolean get_stdin_capture(void); #endif /* __cplusplus */ #endif /* __CONSOLE_WIN32_H__ */ + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 2 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=2 tabstop=8 expandtab: + * :indentSize=2:tabSize=8:noTabs=true: + */ -- cgit v1.2.3