changeset 34589:6327e5a74a5e

Don't unnecessarily use gstrdup(). The line has already been checked for content.
author ib
date Fri, 10 Feb 2012 13:06:43 +0000
parents 94a4e81f214a
children 2c2fea8e9cc8
files gui/cfg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/cfg.c	Thu Feb 09 15:12:58 2012 +0000
+++ b/gui/cfg.c	Fri Feb 10 13:06:43 2012 +0000
@@ -341,7 +341,7 @@
 
         while (fgetstr(line, sizeof(line), file))
             if (*line && (i < FF_ARRAY_ELEMS(fsHistory)))
-                fsHistory[i++] = gstrdup(line);
+                fsHistory[i++] = strdup(line);
 
         fclose(file);
     }