all repos — fluxbox @ 23729b78ba2a6f57be040cf7fef12e2b9daa942a

custom fork of the fluxbox windowmanager

return string instead of char * from getStyleFilename
fluxgen fluxgen
commit

23729b78ba2a6f57be040cf7fef12e2b9daa942a

parent

2186aac51126ecabd1da586277284e6474896c01

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/fluxbox.hhsrc/fluxbox.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 @@ enum Titlebar{SHADE=0, MINIMIZE, MAXIMIZE, CLOSE, STICK, MENU, EMPTY};

inline const std::vector<Fluxbox::Titlebar>& getTitlebarRight() { return *m_rc_titlebar_right; } inline const std::vector<Fluxbox::Titlebar>& 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; }