From 23729b78ba2a6f57be040cf7fef12e2b9daa942a Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 17 Feb 2003 12:29:35 +0000 Subject: return string instead of char * from getStyleFilename --- src/fluxbox.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 7ab5428..827d869 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.hh,v 1.41 2003/02/16 15:12:08 rathnor Exp $ +// $Id: fluxbox.hh,v 1.42 2003/02/17 12:29:35 fluxgen Exp $ #ifndef FLUXBOX_HH #define FLUXBOX_HH @@ -106,7 +106,7 @@ public: inline const std::vector& getTitlebarRight() { return *m_rc_titlebar_right; } inline const std::vector& getTitlebarLeft() { return *m_rc_titlebar_left; } - inline const char *getStyleFilename() const { return m_rc_stylefile->c_str(); } + inline const std::string &getStyleFilename() const { return *m_rc_stylefile; } inline const char *getMenuFilename() const { return m_rc_menufile->c_str(); } inline const std::string &getSlitlistFilename() const { return *m_rc_slitlistfile; } -- cgit v0.11.2