diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/colloquium.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colloquium.c b/src/colloquium.c index b3a675e..5b0d2d0 100644 --- a/src/colloquium.c +++ b/src/colloquium.c @@ -304,7 +304,7 @@ static void colloquium_startup(GApplication *papp) g_object_unref(builder); configdir = g_get_user_config_dir(); - app->mydir = malloc(strlen(configdir+14)); + app->mydir = malloc(strlen(configdir)+14); strcpy(app->mydir, configdir); strcat(app->mydir, "/colloquium"); |