Wim Oudshoorn <woudshoo@xs4all.nl> writes:
------------------------------------------------------------------------
*** base/Source/NSBundle.m 2003/06/20 15:02:27 1.1.1.2
--- base/Source/NSBundle.m 2003/06/20 15:07:53 1.3
***************
*** 780,786 ****
the executable name here - just in case it turns out it's a
tool. */
NSString *toolName = [_executable_path lastPathComponent];
!
/* Strip off the name of the program */
path = [_executable_path stringByDeletingLastPathComponent];
--- 780,789 ----
the executable name here - just in case it turns out it's a
tool. */
NSString *toolName = [_executable_path lastPathComponent];
! #if defined(__WIN32__)
! toolName = [toolName stringByDeletingPathExtension];
! #endif
!
/* Strip off the name of the program */
path = [_executable_path stringByDeletingLastPathComponent];