Commit ea0118f
Fix application version check
The `NPPM_GETNPPVERSION` API returns a single DWORD that breaks down
to a high and low value (*). The low value is parsed from a version
string that is "descriptive" rather than semantic (**)
Most often there are 3 digits, e.g. "8.33". But with every "minor
version" bump, it's reduced to only 2 digits, e.g. "8.4"
---
(*) https://github.com/notepad-plus-plus/npp-usermanual/blob/master/content/docs/plugin-communication.md#nppm_getnppversion
(**) https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/resource.h#L24-L251 parent a518e7a commit ea0118f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
0 commit comments