summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/djvu/djvu-text-page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/djvu/djvu-text-page.c b/backend/djvu/djvu-text-page.c
index 90bce25e..6cbf54e6 100644
--- a/backend/djvu/djvu-text-page.c
+++ b/backend/djvu/djvu-text-page.c
@@ -43,8 +43,8 @@ djvu_text_page_selection_process (DjvuTextPage *page,
char *token_text = (char *) miniexp_to_str (miniexp_nth (5, p));
if (page->text) {
char *new_text =
- g_strjoin (delimit & 2 ? "\n" :
- delimit & 1 ? " " : NULL,
+ g_strjoin ((delimit & 2) ? "\n" :
+ (delimit & 1) ? " " : NULL,
page->text, token_text,
NULL);
g_free (page->text);