Skip to content

Commit 0cf2a73

Browse files
committed
oops
1 parent cb23f95 commit 0cf2a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ get_prefix(void)
9494

9595
g_autofree char *trailing = g_strjoin("/", "bin", basename, NULL);
9696
if (argv0_path &&
97-
is_postfix(argv0_path, trailing))
97+
is_postfix(trailing, argv0_path))
9898
argv0_path[strlen(argv0_path) - strlen(trailing)] = '\0';
9999

100100
prefix = argv0_path;

0 commit comments

Comments
 (0)