Commit cff501c
committed
fix(winapi): return bool from HideConsoleWindow
Capture ShowWindow's previous-visibility return as the function's
boolean result instead of dropping all three returns with a blank
assignment. Cleaner than blank-identifier juggling and gives the
caller actionable info if needed.1 parent f8b7194 commit cff501c
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
0 commit comments