From 1ac86ca2e5e32bd8bb34bba1589e2152004dc9a6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Apr 2011 19:02:36 +0000 Subject: Squeeze blank lines and delete trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3152 a436a847-0d15-0410-975c-d299462d15a1 --- src/main.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index abf13c9..4be53a8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,7 +15,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifdef __APPLE__ +#ifdef __APPLE__ #include #include #include @@ -49,13 +49,13 @@ set_bundle_environment() chdir(bundle_path.c_str()); const std::string pangorc_path(bundle_path + "/Resources/pangorc"); setenv("PANGO_RC_FILE", pangorc_path.c_str(), 1); - + const char* path_c = getenv("PATH"); std::string path = "/opt/local/bin"; if (path_c) path += std::string(":") + path_c; setenv("PATH", path.c_str(), 1); - + gtk_rc_parse((bundle_path + "/Resources/gtkrc").c_str()); } #endif @@ -76,7 +76,7 @@ main(int argc, char** argv) Patchage patchage(argc, argv); app.run(*patchage.window()); - + } catch (std::exception& e) { Raul::error << "patchage: error: " << e.what() << std::endl; return 1; @@ -88,4 +88,3 @@ main(int argc, char** argv) return 0; } - -- cgit v1.2.1