summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 392b9fb666..b1241d64e0 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -63,9 +63,7 @@ int main(int argc, char *argv[]) {
}
// Load style
- std::string style = "file://";
- style += uv::cwd();
- style += "/styles/bright/style.json";
+ const std::string style = std::string("file://") + uv::cwd() + std::string("/styles/bright/style.json");
map.setStyleURL(style);
int ret = view->run();