From: Michal Vaner Date: Sun, 18 Jan 2009 18:51:33 +0000 (+0000) Subject: Fix for a minor code typo. X-Git-Tag: EVINCE_2_25_5~7 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=9d52040ae91a6cd561bd5acf25c4a725a57b27b8;p=evince.git Fix for a minor code typo. 2009-01-18 Michal Vaner * shell/main.c (arguments_parse): Fix for a minor code typo. svn path=/trunk/; revision=3355 --- diff --git a/ChangeLog b/ChangeLog index 42e73179..69550d02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-01-18 Michal Vaner + + * shell/main.c (arguments_parse): Fix for a minor code typo. + 2009-01-18 Christian Persch * help/reference/Makefile.am: diff --git a/shell/main.c b/shell/main.c index 37db7e43..a6a95cf7 100644 --- a/shell/main.c +++ b/shell/main.c @@ -42,7 +42,7 @@ static gchar *ev_page_label; static gchar *ev_find_string; static gboolean preview_mode = FALSE; -static gboolean fullscren_mode = FALSE; +static gboolean fullscreen_mode = FALSE; static gboolean presentation_mode = FALSE; static gboolean unlink_temp_file = FALSE; static gchar *print_settings; @@ -51,7 +51,7 @@ static const char **file_arguments = NULL; static const GOptionEntry goption_options[] = { { "page-label", 'p', 0, G_OPTION_ARG_STRING, &ev_page_label, N_("The page of the document to display."), N_("PAGE")}, - { "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscren_mode, N_("Run evince in fullscreen mode"), NULL }, + { "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen_mode, N_("Run evince in fullscreen mode"), NULL }, { "presentation", 's', 0, G_OPTION_ARG_NONE, &presentation_mode, N_("Run evince in presentation mode"), NULL }, { "preview", 'w', 0, G_OPTION_ARG_NONE, &preview_mode, N_("Run evince as a previewer"), NULL }, { "find", 'l', 0, G_OPTION_ARG_STRING, &ev_find_string, N_("The word or phrase to find in the document"), N_("STRING")}, @@ -140,7 +140,7 @@ arguments_parse (void) ev_page_label = NULL; } - if (fullscren_mode) + if (fullscreen_mode) mode = EV_WINDOW_MODE_FULLSCREEN; else if (presentation_mode) mode = EV_WINDOW_MODE_PRESENTATION;