From 09062a95076bb3c2b3c63fb053047df5780be226 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Wed, 9 Dec 2015 15:44:28 +0100 Subject: [PATCH] Fix build problem with latest commit --- rtgui/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/main.cc b/rtgui/main.cc index 4ca8b94d7..03b85654e 100644 --- a/rtgui/main.cc +++ b/rtgui/main.cc @@ -280,7 +280,7 @@ int main(int argc, char **argv) options.theme = "21-Gray-Gray"; } else { std::string themeFile = argv0 + "/themes/" + options.theme + ".gtkrc"; - if (!std::ifstream(themeFile)) { + if (!std::ifstream(themeFile.c_str())) { printf ("Current theme in options file is invalid: %s\nChanging to 21-Gray-Gray\n", options.theme.c_str()); options.theme = "21-Gray-Gray"; }