Commit 5ee4935
committed
fix: operator precedence bug in version display and settings default mismatch
- Options.xaml.cs: Add parentheses around null-coalescing fallback so
'?? 2.0.0' actually triggers when Version is null. Without parens,
string concatenation always produces non-null, making fallback dead code.
- Settings.settings: Change BitmapEffects default from True to False to
match Settings.Designer.cs. Prevents silent flip if designer regenerates
the file, preserving GPU auto-detection intent.
Found by Opus code review.1 parent 0c68ae2 commit 5ee4935
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments