author | zecke <zecke> | 2002-11-03 11:11:00 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-11-03 11:11:00 (UTC) |
commit | d26f82ea57c70fd0e77eb192f7e133c5f76c2f0f (patch) (side-by-side diff) | |
tree | 16240b40b1be5b581dc2fb7e1a0c18239c3dc4fd /noncore/apps/opie-reader/CDrawBuffer.cpp | |
parent | eac6c5d3a22147d78866122c2f5b89d3fdf6bfc6 (diff) | |
download | opie-d26f82ea57c70fd0e77eb192f7e133c5f76c2f0f.zip opie-d26f82ea57c70fd0e77eb192f7e133c5f76c2f0f.tar.gz opie-d26f82ea57c70fd0e77eb192f7e133c5f76c2f0f.tar.bz2 |
Gcc3 compiler fixes again
No default arguments in the implementation please
Diffstat (limited to 'noncore/apps/opie-reader/CDrawBuffer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/CDrawBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/CDrawBuffer.cpp b/noncore/apps/opie-reader/CDrawBuffer.cpp index 2ceb2d5..892456f 100644 --- a/noncore/apps/opie-reader/CDrawBuffer.cpp +++ b/noncore/apps/opie-reader/CDrawBuffer.cpp @@ -102,13 +102,13 @@ void CDrawBuffer::addch(tchar ch, CStyle _style/* = ucFontBase*/) void CDrawBuffer::truncate(int n) { len = n; (*this)[n] = 0; } -int CDrawBuffer::width(int numchars = -1) +int CDrawBuffer::width(int numchars) { int currentx = 0, end = 0; QString text = toQString(data()); CList<textsegment>::iterator textstart = segs.begin(); CList<textsegment>::iterator textend = textstart; do |