[nemiver: 1/5] Port nmv-plugin.cc to OpenBSD



commit d8ca408979494debe0e1c140a6500bd12ad45286
Author: Landry Breuil <landry rhaalovely net>
Date:   Fri Mar 13 09:46:11 2009 +0100

    Port nmv-plugin.cc to OpenBSD
    
    	* src/common/nmv-plugin.cc:
    	(Plugin::EntryPoint::Loader::Loader): Don't use THROW() without
    	parameter.
---
 src/common/nmv-plugin.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/nmv-plugin.cc b/src/common/nmv-plugin.cc
index 76cb19d..5f7a02e 100644
--- a/src/common/nmv-plugin.cc
+++ b/src/common/nmv-plugin.cc
@@ -48,7 +48,7 @@ Plugin::EntryPoint::Loader::Loader (const UString &a_plugin_path) :
 
     config_search_paths ().clear () ;
     if (!Glib::file_test (a_plugin_path, Glib::FILE_TEST_IS_DIR)) {
-        THROW () ;
+        THROW ("Couldn't find directory '" + a_plugin_path + "'") ;
     }
     config_search_paths ().push_back (a_plugin_path) ;
     m_priv->plugin_path = a_plugin_path ;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]