added parentheses around && within ||.

2004-12-02  Sven Neumann  <sven@gimp.org>

        * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): added parentheses
        around && within ||.
This commit is contained in:
Sven Neumann
2004-12-02 10:52:52 +00:00
committed by Sven Neumann
parent b8364aa766
commit d8e0541662
5 changed files with 21 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2004-12-02 Sven Neumann <sven@gimp.org>
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): added parentheses
around && within ||.
2004-11-30 Dwayne Bailey <dwayne@translate.org.za>
* configure.in: Added "nso" to ALL_LINGUAS.

View File

@@ -1,3 +1,8 @@
2004-12-02 Sven Neumann <sven@gimp.org>
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): added parentheses
around && within ||.
2004-11-30 Dwayne Bailey <dwayne@translate.org.za>
* configure.in: Added "nso" to ALL_LINGUAS.

View File

@@ -1,3 +1,8 @@
2004-12-02 Sven Neumann <sven@gimp.org>
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): added parentheses
around && within ||.
2004-11-30 Dwayne Bailey <dwayne@translate.org.za>
* configure.in: Added "nso" to ALL_LINGUAS.

View File

@@ -1,3 +1,8 @@
2004-12-02 Sven Neumann <sven@gimp.org>
* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): added parentheses
around && within ||.
2004-11-30 Dwayne Bailey <dwayne@translate.org.za>
* configure.in: Added "nso" to ALL_LINGUAS.

View File

@@ -121,7 +121,7 @@ _gtk_accel_path_is_valid (const gchar *accel_path)
accel_path[1] == '<' || accel_path[1] == '>' || !accel_path[1])
return FALSE;
p = strchr (accel_path, '>');
if (!p || p[1] != 0 && p[1] != '/')
if (!p || (p[1] != 0 && p[1] != '/'))
return FALSE;
return TRUE;
}