diff --git a/legacy/project/src/common/Utils.cpp b/legacy/project/src/common/Utils.cpp index f42ed6c2b..7247e5bc4 100644 --- a/legacy/project/src/common/Utils.cpp +++ b/legacy/project/src/common/Utils.cpp @@ -215,7 +215,7 @@ WString ColorToWide(int value) #ifdef __MINGW32__ swprintf(buffer, L"%X", value); #else - swprintf(buffer, 40, L"%i", value); + swprintf(buffer, 40, L"%X", value); #endif return WString(buffer); }