DXGL r211 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r210‎ | r211 | r212 >
Date:00:35, 10 July 2012
Author:admin
Status:new
Tags:
Comment:
Fix HTML Help Workshop URL.
Add _CRT_SECURE_NO_DEPRECATE to buildtool
Modified paths:
  • /buildtool/buildtool.cpp (modified) (history)

Diff [purge]

Index: buildtool/buildtool.cpp
@@ -15,6 +15,7 @@
1616 // License along with this library; if not, write to the Free Software
1717 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1818
 19+#define _CRT_SECURE_NO_DEPRECATE
1920 #include <cstdio>
2021 #include <iostream>
2122 #include <windows.h>
@@ -211,7 +212,7 @@
212213 {
213214 int result = MessageBoxA(NULL,"Could not find HTML Help Workshop, would you like to download it?","HTML Help Workshop not found",
214215 MB_YESNO|MB_ICONERROR);
215 - if(result == IDYES) ShellExecuteA(NULL,"open","http://tortoisesvn.net/",NULL,NULL,SW_SHOWNORMAL);
 216+ if(result == IDYES) ShellExecuteA(NULL,"open","http://www.microsoft.com/en-us/download/details.aspx?id=21138",NULL,NULL,SW_SHOWNORMAL);
216217 cout << "ERROR: HTML Help Compiler not found." << endl;
217218 return -1;
218219 }