~ubuntu-branches/ubuntu/wily/pianobar/wily-proposed

« back to all changes in this revision

Viewing changes to src/ui_readline.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Faraone
  • Date: 2010-10-07 09:15:49 UTC
  • mfrom: (1.3.1 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20101007091549-sscxdr1kud0d4hyl
Tags: 2010.10.07-1
* New upstream version. 
  - XMLRPC api version bump (v28) (closes: #599338)

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
                                        } else {
101
101
                                                /* delete utf-8 multibyte chars */
102
102
                                                /* char content */
103
 
                                                while (bufPos >= 0 &&
104
 
                                                                BarReadlineIsUtf8Content (buf[bufPos-1])) {
 
103
                                                while (BarReadlineIsUtf8Content (buf[bufPos-1])) {
105
104
                                                        BarReadlineMoveLeft (buf, &bufPos, &bufLen);
106
105
                                                }
107
106
                                                /* char length */
108
 
                                                if (bufPos >= 0 &&
109
 
                                                                BarReadlineIsUtf8Start (buf[bufPos-1])) {
 
107
                                                if (BarReadlineIsUtf8Start (buf[bufPos-1])) {
110
108
                                                        BarReadlineMoveLeft (buf, &bufPos, &bufLen);
111
109
                                                }
112
110
                                        }