Revision: 3980
http://svn.sourceforge.net/winmerge/?rev=3980&view=rev
Author: kimmov
Date: 2006-12-19 06:02:49 -0800 (Tue, 19 Dec 2006)
Log Message:
-----------
PATCH: [ 1618364 ] Make GPL URL const string
Modified Paths:
--------------
trunk/Src/Changes.txt
trunk/Src/MainFrm.cpp
Modified: trunk/Src/Changes.txt
===================================================================
--- trunk/Src/Changes.txt 2006-12-19 14:00:24 UTC (rev 3979)
+++ trunk/Src/Changes.txt 2006-12-19 14:02:49 UTC (rev 3980)
@@ -5,6 +5,8 @@
2006-12-19 Kimmo
PATCH: [ 1618358 ] Fix warning about non-standard extension with enum
Src: MainFrm.cpp
+ PATCH: [ 1618364 ] Make GPL URL const string
+ Src: MainFrm.cpp
2006-12-18 Kimmo
PATCH: [ 1617502 ] Cleanup use of enum in MovedLines
Modified: trunk/Src/MainFrm.cpp
===================================================================
--- trunk/Src/MainFrm.cpp 2006-12-19 14:00:24 UTC (rev 3979)
+++ trunk/Src/MainFrm.cpp 2006-12-19 14:02:49 UTC (rev 3980)
@@ -807,9 +807,9 @@
*/
void CMainFrame::OnHelpGnulicense()
{
- CString spath = GetModulePath() + _T("\\Copying");
- CString url = _T("http://www.gnu.org/copyleft/gpl.html");
-
+ const CString spath = GetModulePath() + _T("\\Copying");
+ const TCHAR url[] = _T("http://www.gnu.org/copyleft/gpl.html");
+
OpenFileOrUrl(spath, url);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|