From: <jim...@us...> - 2007-07-16 01:22:32
|
Revision: 716 http://svn.sourceforge.net/panotools/?rev=716&view=rev Author: jim0watters Date: 2007-07-15 18:22:33 -0700 (Sun, 15 Jul 2007) Log Message: ----------- Use correct name to reflect version of pref file. Modified Paths: -------------- trunk/libpano/sys_win.c Modified: trunk/libpano/sys_win.c =================================================================== --- trunk/libpano/sys_win.c 2007-07-16 01:21:46 UTC (rev 715) +++ trunk/libpano/sys_win.c 2007-07-16 01:22:33 UTC (rev 716) @@ -71,6 +71,8 @@ #define ID_MM 100 #define ID_SM 101 +#define PREF_FILE_NAME "pano13.prf" + HINSTANCE hDllInstance = NULL; HWND wndOwner = NULL; int dialogDone; @@ -296,11 +298,11 @@ if( c!= NULL ) { c++; - strcpy( c,"pano12.prf" ); + strcpy( c,PREF_FILE_NAME ); } else { - strcpy( prefname,".\\pano12.prf" ); + strcpy( prefname,".\\"PREF_FILE_NAME ); } @@ -396,11 +398,11 @@ if( c!= NULL ) { c++; - strcpy( c,"pano12.prf" ); + strcpy( c,PREF_FILE_NAME ); } else { - strcpy( prefname,".\\pano12.prf" ); + strcpy( prefname,".\\"PREF_FILE_NAME ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |