diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/helper/driverblocklist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/helper/driverblocklist.cxx b/vcl/source/helper/driverblocklist.cxx index 0700731abf45..de1c81992789 100644 --- a/vcl/source/helper/driverblocklist.cxx +++ b/vcl/source/helper/driverblocklist.cxx @@ -223,7 +223,7 @@ static bool SplitDriverVersion(const char* aSource, char* aAStr, char* aBStr, ch // Vulkan version numbers have only 3 fields. if (destIdx == SAL_N_ELEMENTS(dest) - 2) - dest[destIdx++][0] = '\0'; + dest[++destIdx][0] = '\0'; if (destIdx != SAL_N_ELEMENTS(dest) - 1) { return false; |