mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 11:45:58 +01:00
fix string corruption in hyprctl monitors -j
This commit is contained in:
parent
e4527c6b60
commit
d264fbd36a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ R"#({
|
||||||
},)#",
|
},)#",
|
||||||
m->ID,
|
m->ID,
|
||||||
escapeJSONStrings(m->szName).c_str(),
|
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,
|
(int)m->vecPixelSize.x, (int)m->vecPixelSize.y,
|
||||||
m->refreshRate,
|
m->refreshRate,
|
||||||
(int)m->vecPosition.x, (int)m->vecPosition.y,
|
(int)m->vecPosition.x, (int)m->vecPosition.y,
|
||||||
|
|
Loading…
Reference in a new issue