summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorportix <none@none>2012-07-21 12:10:19 +0200
committerportix <none@none>2012-07-21 12:10:19 +0200
commit0983e0ae429cdef8f2e756df9211dcd0f1c0d0c7 (patch)
treee50ba2db4f1326958e3c780c148551905530cf29 /src/session.c
parentca168a3f42945d8350645f7af7949b8ae5d52c19 (diff)
downloaddwb-0983e0ae429cdef8f2e756df9211dcd0f1c0d0c7.zip
Additional length parameter in util_get_file_content; remove trailing newline in dwb_editor_watch, closing #130
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index 06bb0c52..8d12122d 100644
--- a/src/session.c
+++ b/src/session.c
@@ -35,7 +35,7 @@ typedef struct _SessionTab {
static char **
session_get_groups() {
char **groups = NULL;
- char *content = util_get_file_content(dwb.files[FILES_SESSION]);
+ char *content = util_get_file_content(dwb.files[FILES_SESSION], NULL);
if (content) {
groups = g_regex_split_simple("^g:", content, G_REGEX_MULTILINE, G_REGEX_MATCH_NOTEMPTY);
g_free(content);