We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb23f95 commit 0cf2a73Copy full SHA for 0cf2a73
src/main.c
@@ -94,7 +94,7 @@ get_prefix(void)
94
95
g_autofree char *trailing = g_strjoin("/", "bin", basename, NULL);
96
if (argv0_path &&
97
- is_postfix(argv0_path, trailing))
+ is_postfix(trailing, argv0_path))
98
argv0_path[strlen(argv0_path) - strlen(trailing)] = '\0';
99
100
prefix = argv0_path;
0 commit comments