From d67428796190e6f730d2d74b9fd8a02c8d236687 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Sat, 30 May 2015 17:36:34 +0200 Subject: [PATCH] Fix typo in variable name in Windows g_open() implementation. --- src/common/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils.c b/src/common/utils.c index aecb84c16..064d12a95 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -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); - return fp; + return fd; #else return open(filename, flags, mode); #endif -- 2.25.1