[gedit] Correctly check for the encoding command line message
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit] Correctly check for the encoding command line message
- Date: Wed, 19 Aug 2009 13:20:04 +0000 (UTC)
commit e14adb68d3319192c0acc09222d313f7b826bda2
Author: Paolo Borelli <pborelli gnome org>
Date: Wed Aug 19 15:20:05 2009 +0200
Correctly check for the encoding command line message
gedit/gedit.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit.c b/gedit/gedit.c
index 6a5b33a..ca87fd9 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -177,7 +177,7 @@ gedit_get_command_line_data (void)
}
static guint32
-get_startup_timestamp ()
+get_startup_timestamp (void)
{
const gchar *startup_id_env;
gchar *startup_id = NULL;
@@ -300,7 +300,8 @@ on_message_received (const char *message,
gchar **uris;
line_position = atoi (params[1]);
- if (params[2] != '\0');
+
+ if (params[2] != '\0')
encoding = gedit_encoding_get_from_charset (params[2]);
n_uris = atoi (params[3]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]