From e5e031cabe209d073dc2b9b8bd75fca8e421c2b2 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Sat, 6 Sep 2014 00:02:08 -0400
Subject: [PATCH] fileutils: C++11 requires a space between literal and
 identifier

Change-Id: I04e83a58ac93e6f9bf7470b7e7703fffcc3f7d80
---
 daemon/src/fileutils.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/daemon/src/fileutils.cpp b/daemon/src/fileutils.cpp
index 28cbadce45..b1c2f382b3 100644
--- a/daemon/src/fileutils.cpp
+++ b/daemon/src/fileutils.cpp
@@ -274,8 +274,10 @@ get_data_dir()
     const std::string data_home(XDG_DATA_HOME);
     if (not data_home.empty())
         return data_home + DIR_SEPARATOR_STR + PACKAGE;
-    // "If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used."
-    return get_home_dir()+DIR_SEPARATOR_STR".local"DIR_SEPARATOR_STR"share"DIR_SEPARATOR_STR + PACKAGE;
+    // "If $XDG_DATA_HOME is either not set or empty, a default equal to
+    // $HOME/.local/share should be used."
+    return get_home_dir() + DIR_SEPARATOR_STR ".local" DIR_SEPARATOR_STR
+        "share" DIR_SEPARATOR_STR + PACKAGE;
 }
 
 }
-- 
GitLab