|
|
| version 1.6, 2005/03/20 08:58:20 | version 1.7, 2011/02/15 00:51:51 |
|---|---|
| Line 321 const TCHAR *ext; | Line 321 const TCHAR *ext; |
| if (!dlgs_selectwritefile(hWnd, &newdiskui, path, NELEMENTS(path))) { | if (!dlgs_selectwritefile(hWnd, &newdiskui, path, NELEMENTS(path))) { |
| return; | return; |
| } | } |
| hinst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE); | |
| #if defined(_WIN64) | |
| hinst = reinterpret_cast<HINSTANCE>(::GetWindowLongPtr(hWnd, GWLP_HINSTANCE)); | |
| #else | |
| hinst = reinterpret_cast<HINSTANCE>(::GetWindowLong(hWnd, GWL_HINSTANCE)); | |
| #endif | |
| ext = file_getext(path); | ext = file_getext(path); |
| if (!file_cmpname(ext, str_thd)) { | if (!file_cmpname(ext, str_thd)) { |
| hddsize = 0; | hddsize = 0; |