Skip to content
Snippets Groups Projects
Commit 90fb925d authored by callum_linden's avatar callum_linden
Browse files

fix line endings

parent 8c654704
No related branches found
No related tags found
No related merge requests found
...@@ -56,14 +56,14 @@ private: ...@@ -56,14 +56,14 @@ private:
bool mSystemIsVistaOrHigher; bool mSystemIsVistaOrHigher;
}; };
bool VolumeCatcherImpl::isWindowsVistaOrHigher() bool VolumeCatcherImpl::isWindowsVistaOrHigher()
{ {
OSVERSIONINFO osvi; OSVERSIONINFO osvi;
ZeroMemory(&osvi, sizeof(OSVERSIONINFO)); ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
GetVersionEx(&osvi); GetVersionEx(&osvi);
return osvi.dwMajorVersion >= 6; return osvi.dwMajorVersion >= 6;
} }
VolumeCatcherImpl::VolumeCatcherImpl() VolumeCatcherImpl::VolumeCatcherImpl()
: mVolume(1.0f), // default volume is max : mVolume(1.0f), // default volume is max
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment