|
From: <bo...@us...> - 2010-03-17 06:20:05
|
Revision: 487
http://gearbox.svn.sourceforge.net/gearbox/?rev=487&view=rev
Author: borax00
Date: 2010-03-17 06:19:56 +0000 (Wed, 17 Mar 2010)
Log Message:
-----------
Applied patch suggested by Ben Kehoe
Modified Paths:
--------------
gearbox/trunk/src/gbxutilacfr/exceptions.cpp
Modified: gearbox/trunk/src/gbxutilacfr/exceptions.cpp
===================================================================
--- gearbox/trunk/src/gbxutilacfr/exceptions.cpp 2010-02-23 23:20:33 UTC (rev 486)
+++ gearbox/trunk/src/gbxutilacfr/exceptions.cpp 2010-03-17 06:19:56 UTC (rev 487)
@@ -28,9 +28,9 @@
Exception::basename( const char *s ) const
{
#ifndef WIN32
- char *slashPos = strrchr( s, '/' );
+ const char *slashPos = strrchr( s, '/' );
#else
- char *slashPos = strrchr( s, '\\' );
+ const char *slashPos = strrchr( s, '\\' );
#endif
if ( slashPos == NULL )
return s; // no slash found
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|