path: root/tests/shared
diff options
authorEdward Welbourne <>2021-08-06 12:24:37 +0200
committerEdward Welbourne <>2021-08-27 20:31:18 +0200
commitd95f4d00189082e0217ab06aa0911e6bbffb3ade (patch)
tree44cdf890b34b0cb015aac916de714a00b57b82bb /tests/shared
parent17d7a8dc2e2df577a769cd84cba946a726e8872a (diff)
qlocale_win: Simplify and explain month-name format lookup
Retain the given month number and simply subtract one from it in the one place it's used (once the two array dereferencs are unified). That makes it clear that the off-by-one numbering is just down to our arrays, not some weired quirk of the MS API. Simplify a condition by inverting it: compare to LongFormat instead of ||-ing comparisons to the other two members of the enum. Change-Id: Ia03486b7869255ecdb1372de62d5c745d35d0a0a Reviewed-by: MÃ¥rten Nordheim <>
Diffstat (limited to 'tests/shared')
0 files changed, 0 insertions, 0 deletions