all repos — fluxbox @ 11a7029b22d1e4a25cbabb7e6af8ee3e69994d1f

custom fork of the fluxbox windowmanager

using empty instead of size
fluxgen fluxgen
commit

11a7029b22d1e4a25cbabb7e6af8ee3e69994d1f

parent

87629ad23c1db3072f9d2b9cf827ba64773ebf97

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

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

@@ -20,7 +20,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: CommandDialog.cc,v 1.3 2004/01/02 13:53:21 fluxgen Exp $ +// $Id: CommandDialog.cc,v 1.4 2004/01/21 13:16:09 fluxgen Exp $ #include "CommandDialog.hh"

@@ -173,7 +173,7 @@ m_textbox.cursorPosition());

if (first == string::npos) first = 0; string prefix = FbTk::StringUtil::toLower(m_textbox.text().substr(first, m_textbox.cursorPosition())); - if (prefix.size() == 0) { + if (prefix.empty()) { XBell(FbTk::App::instance()->display(), 0); return; }