+2004-09-03 Bill Haneman <bill.haneman@sun.com>
+
+ * cspi/bonobo/cspi-bonobo.c:
+ (cspi_display_name): Fix C99ism.
+ * atk-bridge/bridge.c:
+ (spi_display_name): Fix C99ism.
+ Patch from Jens Granseuer, jensgr@gmx.net.
+
2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added "or" to ALL_LINGUAS.
canonical_display_name = ":0";
else
{
+ gchar *display_p, *screen_p;
canonical_display_name = g_strdup (display_env);
- gchar *display_p = strrchr (canonical_display_name, ':');
- gchar *screen_p = strrchr (canonical_display_name, '.');
+ display_p = strrchr (canonical_display_name, ':');
+ screen_p = strrchr (canonical_display_name, '.');
if (screen_p && display_p && ((guint) screen_p > (guint) display_p))
{
*screen_p = '\0';
canonical_display_name = ":0";
else
{
+ gchar *display_p, *screen_p;
canonical_display_name = g_strdup (display_env);
- gchar *display_p = strrchr (canonical_display_name, ':');
- gchar *screen_p = strrchr (canonical_display_name, '.');
+ display_p = strrchr (canonical_display_name, ':');
+ screen_p = strrchr (canonical_display_name, '.');
if (screen_p && display_p && ((guint) screen_p > (guint) display_p))
{
*screen_p = '\0';