DXGL r9 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r8
|
r9
|
r10
>
Date:
18:29, 20 November 2011
Author:
admin
Status:
new
Tags:
Comment:
Fix crash when creating DirectDraw objects
Modified paths:
/cfgmgr/cfgmgr.cpp
(modified) (
history
)
Diff
[
purge
]
Index: cfgmgr/cfgmgr.cpp
—
—
@@ -146,7 +146,7 @@
147
147
{
148
148
LPTSTR paths;
149
149
sizeout = 0;
150
- if(!path) GetModuleFileName(NULL,path,MAX_PATH);
150
+ if(!dir) GetModuleFileName(NULL,path,MAX_PATH);
151
151
else _tcsncpy(path,dir,MAX_PATH+1);
152
152
GetDirFromPath(path);
153
153
error = RegQueryValueEx(hKey,_T("InstallPaths"),NULL,®multisz,NULL,&sizeout);
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version