~ubuntu-branches/ubuntu/vivid/apvlv/vivid

« back to all changes in this revision

Viewing changes to src/ApvlvCmds.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ritter
  • Date: 2010-01-07 09:17:00 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107091700-g8xuigepst2bzq0d
Tags: 0.0.9-1
New upstream release (Closes: #562495)
Thanks to Daniel Friesel for the manpage

Show diffs side-by-side

added added

removed removed

Lines of Context:
420
420
 
421
421
    if (mState == CMD_OK)
422
422
      {
423
 
        if (isdigit (gev->keyval))
 
423
        if (isdigit (gev->keyval) && gev->keyval != '0')
424
424
          {
425
425
            char s[2] = { 0 };
426
426
            s[0] = gev->keyval;