changeset 31327:0bb0b99e4dc1

Remove some unused win32 GUI code.
author reimar
date Sun, 13 Jun 2010 19:10:37 +0000
parents 2aaeaee2dd5a
children 599bf04eceeb
files gui/win32/wincfg.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/wincfg.c	Sun Jun 13 19:09:11 2010 +0000
+++ b/gui/win32/wincfg.c	Sun Jun 13 19:10:37 2010 +0000
@@ -89,22 +89,6 @@
     {   NULL, NULL, 0, 0, 0, 0, NULL }
 };
 
-char *gfgets(char *str, int size, FILE *f)
-{
-    char *s = fgets(str, size, f);
-    char c;
-    if(s)
-    {
-        c = s[strlen(s) - 1];
-        if ((c == '\n') || (c == '\r'))
-            s[strlen(s) - 1]=0;
-        c = s[strlen(s) - 1];
-        if ((c == '\n') || (c == '\r'))
-            s[strlen(s) - 1]=0;
-    }
-    return s;
-}
-
 int cfg_read(void)
 {
     char *cfg = get_path("gui.conf");