diff options
| author | vaxerski <vaxry@vaxry.net> | 2022-10-06 09:04:46 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2022-10-06 09:04:46 +0100 |
| commit | d264fbd36a7085ac8078d120a88acf1b8cae9289 (patch) | |
| tree | ca9e0abbbe820dfb3b40c03dc4db0bd7b4d918e2 /src/debug/HyprCtl.cpp | |
| parent | e4527c6b60c524aa7f78e47c4e1be32215f0604b (diff) | |
fix string corruption in hyprctl monitors -j
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 0ebe9e1a..c602ab31 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -41,7 +41,7 @@ R"#({ },)#", m->ID, escapeJSONStrings(m->szName).c_str(), - escapeJSONStrings(m->output->description ? m->output->description : ""), + escapeJSONStrings(m->output->description ? m->output->description : "").c_str(), (int)m->vecPixelSize.x, (int)m->vecPixelSize.y, m->refreshRate, (int)m->vecPosition.x, (int)m->vecPosition.y, |
