diff --git a/README.md b/README.md index a9519f70..97d94c1e 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu | `cellpadding_y` | Set the vertical cellpadding, default is `-0.085` | | `frametime` | Display frametime next to fps text | | `table_columns` | Set the number of table columns for ImGui, defaults to 3 | -| `blacklist` | Add a program to the blacklist. e.g `blacklist=vkcube,WatchDogs2.exe` | +| `blacklist` | Add a program to the blacklist. e.g `blacklist=vkcube+WatchDogs2.exe` | Example: `MANGOHUD_CONFIG=cpu_temp,gpu_temp,position=top-right,height=500,font_size=32` diff --git a/src/overlay_params.cpp b/src/overlay_params.cpp index b63355d4..2daa07e0 100644 --- a/src/overlay_params.cpp +++ b/src/overlay_params.cpp @@ -190,7 +190,7 @@ parse_str_tokenize(const char *str) std::vector data; std::stringstream ss(str); std::string token; - while (std::getline(ss, token, ',')) { + while (std::getline(ss, token, '+')) { trim(token); data.push_back(token); }