Changeset 258 for winamp-musepack/trunk/mpc_player.cpp
- Timestamp:
- 03/30/07 13:53:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
winamp-musepack/trunk/mpc_player.cpp
r254 r258 86 86 wait_event = 0; 87 87 tag_file = 0; 88 lastfn[0] = 0; 88 89 89 90 TagLib::FileRef fileRef; … … 120 121 tag_file = 0; 121 122 } 123 lastfn[0] = 0; 122 124 } 123 125 … … 329 331 void mpc_player::initDlg(HWND hDlg) 330 332 { 333 if (lastfn[0] == 0) { 334 SetDlgItemText(hDlg, IDC_FILE, "Can't open file"); 335 return; 336 } 337 331 338 std::ostringstream tmp; 332 339 … … 405 412 EndDialog(hDlg, LOWORD(wParam)); 406 413 return TRUE; 414 } else if (LOWORD(wParam) == IDC_LOGO) { 415 ShellExecute( hDlg, "open", "http://www.musepack.com", NULL, NULL, SW_NORMAL); 407 416 } 408 417 break;
Note: See TracChangeset
for help on using the changeset viewer.