diff options
author | Aki <please@ignore.pl> | 2021-10-02 21:12:54 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-02 21:12:54 +0200 |
commit | dee511588386db44ee134adf86b59ffa9a0a02fd (patch) | |
tree | 074f9c04eeee60600bdfa86e3efff9bc47e4707b /Stars45/MachineInfo.cpp | |
parent | e22420f1f289c571ae4fbe8732ec9caa1922282d (diff) | |
download | starshatter-dee511588386db44ee134adf86b59ffa9a0a02fd.zip starshatter-dee511588386db44ee134adf86b59ffa9a0a02fd.tar.gz starshatter-dee511588386db44ee134adf86b59ffa9a0a02fd.tar.bz2 |
Changed NULL to 0 where it was intended this way
Diffstat (limited to 'Stars45/MachineInfo.cpp')
-rw-r--r-- | Stars45/MachineInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/MachineInfo.cpp b/Stars45/MachineInfo.cpp index 255fbb6..7485ac3 100644 --- a/Stars45/MachineInfo.cpp +++ b/Stars45/MachineInfo.cpp @@ -680,7 +680,7 @@ static void DescribeDriversNT(const char* sType) HKEY hkWin; char sVideo[256] = ""; char sDriver[256] = ""; - DWORD dwSize = NULL; + DWORD dwSize = 0; // find the pointer to the video driver: if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, |