Rev 307 | Rev 315 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 307 | Rev 312 | ||
---|---|---|---|
Line 427... | Line 427... | ||
427 | 427 | ||
428 | break; |
428 | break; |
429 | case HELPITEM: |
429 | case HELPITEM: |
430 | #ifdef MAC_ENV |
430 | #ifdef MAC_ENV |
431 | // TODO: Open web-browser instead |
431 | // TODO: Open web-browser instead |
432 | simplealert(_strdup("You can find the documentation here: https://github.com/danielmarschall/filter_foundry/tree/master/doc")) |
432 | simplealert(_strdup("You can find the documentation here: https://github.com/danielmarschall/filter_foundry/tree/master/doc")); |
433 | #else |
433 | #else |
434 | ShellExecuteA( |
434 | if (ShellExecuteA( |
435 | gdata->hWndMainDlg, |
435 | gdata->hWndMainDlg, |
436 | "open", |
436 | "open", |
437 | "https://github.com/danielmarschall/filter_foundry/blob/master/doc/The%20Filter%20Foundry.pdf", |
437 | "https://github.com/danielmarschall/filter_foundry/blob/master/doc/The%20Filter%20Foundry.pdf", |
438 | "", |
438 | NULL, |
439 | "", |
439 | NULL, |
440 | SW_NORMAL |
440 | SW_SHOWNORMAL |
- | 441 | ) <= 32) { |
|
- | 442 | // MSDN states: "If the function succeeds, it returns a value greater than 32." |
|
- | 443 | simplealert(_strdup("You can find the documentation here: https://github.com/danielmarschall/filter_foundry/tree/master/doc")); |
|
441 | ); |
444 | } |
442 | #endif |
445 | #endif |
443 | break; |
446 | break; |
444 | case ZOOMINITEM: |
447 | case ZOOMINITEM: |
445 | zoomfactor = zoomfactor > 2. ? zoomfactor/2. : 1.; |
448 | zoomfactor = zoomfactor > 2. ? zoomfactor/2. : 1.; |
446 | updatezoom(dp); |
449 | updatezoom(dp); |