aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/file-utils.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-11-05 13:35:28 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-11-05 13:35:28 +0100
commit2406e37ebe06d564a81b7ead8a56ffd8716b3ad4 (patch)
tree05ad23965c76f105246c8715b6544dfdf3be8434 /src/file-utils.c
parent9cce7d263ea3f2984a619cdfcb54d264c6a4c51d (diff)
downloadsciteco-2406e37ebe06d564a81b7ead8a56ffd8716b3ad4.tar.gz
fixup: fixed Windows builds
Diffstat (limited to 'src/file-utils.c')
-rw-r--r--src/file-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-utils.c b/src/file-utils.c
index b7e5418..82df599 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -190,7 +190,7 @@ gchar *
teco_file_get_program_path(void)
{
TCHAR buf[MAX_PATH];
- if (!GetModuleFileNameW(NULL, buf, G_N_ELEMENTS(buf))
+ if (!GetModuleFileNameW(NULL, buf, G_N_ELEMENTS(buf)))
return g_get_current_dir();
g_autofree gchar *exe = g_utf16_to_utf8(buf, -1, NULL, NULL, NULL);
return g_path_get_dirname(exe);