Fix typo in variable name in Windows g_open() implementation.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 30 May 2015 15:36:34 +0000 (17:36 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 30 May 2015 15:36:34 +0000 (17:36 +0200)
src/common/utils.c

index aecb84c16293dc02b1a791c75957610c84db928b..064d12a958c20fa669d30636e6da0a0df2447d02 100644 (file)
@@ -210,7 +210,7 @@ int g_open(const gchar *filename, int flags, int mode)
        char *name = g_win32_locale_filename_from_utf8(filename);
        int fd = open(name, flags, mode);
        g_free(name);
        char *name = g_win32_locale_filename_from_utf8(filename);
        int fd = open(name, flags, mode);
        g_free(name);
-       return fp;
+       return fd;
 #else
        return open(filename, flags, mode);
 #endif
 #else
        return open(filename, flags, mode);
 #endif