We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4c0b8 commit d1155d0Copy full SHA for d1155d0
src/SwelvyBG.cpp
@@ -31,7 +31,7 @@ bool SwelvyBG::init(float widthmult, float hightmult, float minspeed, float maxs
31
if (enableColor) {
32
auto colorSetting = mod->getSettingValue<std::string>("color");
33
if (!colorSetting.empty()) {
34
- sscanf(colorSetting.c_str(), "%hhu,%hhu,%hhu", &colorOffset.r, &colorOffset.g, &colorOffset.b);
+ sscanf_s(colorSetting.c_str(), "%hhu,%hhu,%hhu", &colorOffset.r, &colorOffset.g, &colorOffset.b);
35
}
36
37
0 commit comments