mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-16 21:51:43 -05:00
Fix SVG deployment, mk. 3
This commit is contained in:
@@ -337,7 +337,7 @@ namespace linuxdeploy {
|
||||
std::string resolution;
|
||||
|
||||
// if file is a vector image, use "scalable" directory
|
||||
if (util::strLower(path.filename().extension().string()) == "svg") {
|
||||
if (util::strLower(path.filename().extension().string()) == ".svg") {
|
||||
resolution = "scalable";
|
||||
} else {
|
||||
Magick::Image image;
|
||||
|
||||
Reference in New Issue
Block a user