gnome-games r7803 - trunk/blackjack/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7803 - trunk/blackjack/src
- Date: Sat, 2 Aug 2008 21:17:07 +0000 (UTC)
Author: chpe
Date: Sat Aug 2 21:17:07 2008
New Revision: 7803
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7803&view=rev
Log:
Revert bogus patch from bug #444806
Modified:
trunk/blackjack/src/game.cpp
Modified: trunk/blackjack/src/game.cpp
==============================================================================
--- trunk/blackjack/src/game.cpp (original)
+++ trunk/blackjack/src/game.cpp Sat Aug 2 21:17:07 2008
@@ -133,11 +133,11 @@
g_return_val_if_fail (path != NULL, NULL);
/* get the dot in the last element of the path */
- t = g_utf8_strrchr (path, -1, G_DIR_SEPARATOR);
+ t = strrchr (path, G_DIR_SEPARATOR);
if (t != NULL)
- s = g_utf8_strrchr (t, -1, '.');
+ s = strrchr (t, '.');
else
- s = g_utf8_strrchr (path, -1, '.');
+ s = strrchr (path, '.');
if (s == NULL)
return path + strlen (path); /* There is no extension. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]