Skip to content

Commit

Permalink
projectorganizer: fix invalid string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
techee committed Mar 5, 2024
1 parent 6227d2b commit 8d80688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projectorganizer/src/prjorg-sidebar.c
Expand Up @@ -346,7 +346,7 @@ static gchar *get_fallback_dir_of_selection(void)
{
locale_path = g_path_get_dirname(doc->real_path);

if (locale_path && locale_path == '.')
if (locale_path && *locale_path == '.')
{
g_free(locale_path);
locale_path = NULL;
Expand Down

0 comments on commit 8d80688

Please sign in to comment.