all repos — fluxbox @ 2d0aa410a062e7ab7eac70faad6dd854548b360e

custom fork of the fluxbox windowmanager

minor stuff
fluxgen fluxgen
commit

2d0aa410a062e7ab7eac70faad6dd854548b360e

parent

c0a9d432ea21f4f2d4e0f925e4305737c86d0c77

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

jump to
M src/Basemenu.ccsrc/Basemenu.cc

@@ -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: Basemenu.cc,v 1.23 2002/05/15 09:35:49 fluxgen Exp $ +// $Id: Basemenu.cc,v 1.24 2002/05/19 12:22:55 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE

@@ -812,9 +812,9 @@ }

} -void Basemenu::setLabel(const char *l) { - //we don't want 0 to std::string - menu.label = l ? l : ""; +void Basemenu::setLabel(const char *labelstr) { + //make sure we don't send 0 to std::string + menu.label = (labelstr ? labelstr : ""); }