[MPlayer-cvslog] r31393 - trunk/gui/win32/wincfg.c

reimar subversion at mplayerhq.hu
Sun Jun 13 21:10:37 CEST 2010


Author: reimar
Date: Sun Jun 13 21:10:37 2010
New Revision: 31393

Log:
Remove some unused win32 GUI code.

Modified:
   trunk/gui/win32/wincfg.c

Modified: trunk/gui/win32/wincfg.c
==============================================================================
--- trunk/gui/win32/wincfg.c	Sun Jun 13 21:09:11 2010	(r31392)
+++ trunk/gui/win32/wincfg.c	Sun Jun 13 21:10:37 2010	(r31393)
@@ -89,22 +89,6 @@ static const m_option_t gui_opts[] =
     {   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");


More information about the MPlayer-cvslog mailing list