fix trailing comme, thanks VirtCode

This commit is contained in:
Vaxry 2024-07-04 20:52:12 +02:00
parent 9f28b37e2c
commit 73dc885e0b

View file

@ -61,6 +61,8 @@ static std::string availableModesForOutput(CMonitor* pMonitor, eHyprCtlOutputFor
result += std::format("\"{}x{}@{:.2f}Hz\",", m->pixelSize.x, m->pixelSize.y, m->refreshRate / 1000.0); result += std::format("\"{}x{}@{:.2f}Hz\",", m->pixelSize.x, m->pixelSize.y, m->refreshRate / 1000.0);
} }
trimTrailingComma(result);
return result; return result;
} }