DXGL r214 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r213‎ | r214 | r215 >
Date:22:23, 13 July 2012
Author:admin
Status:new
Tags:
Comment:
Fix typo in installer (where did that come from?)
Make dxgltest detect install command better.
Modified paths:
  • /Installer/dxgl.nsi (modified) (history)
  • /dxgltest/dxgltest.cpp (modified) (history)

Diff [purge]

Index: Installer/dxgl.nsi
@@ -169,7 +169,7 @@
170170 regdone:
171171 SetPluginUnload manual
172172 WriteRegStr HKLM "Software\DXGL" "InstallDir" "$INSTDIR"
173 - ExecWait '"$INSTDIR\dxgltest.exe" instaill'
 173+ ExecWait '"$INSTDIR\dxgltest.exe" install'
174174 SectionEnd
175175
176176 !ifndef _DEBUG
Index: dxgltest/dxgltest.cpp
@@ -769,7 +769,7 @@
770770
771771 int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
772772 {
773 - if(!_tcsnicmp(lpCmdLine,_T("install"),7))
 773+ if(_tcsstr(lpCmdLine,_T("install")))
774774 {
775775 LPDIRECTDRAW lpdd;
776776 DirectDrawCreate(NULL,&lpdd,NULL);