[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] eliot/utils ncurses.cpp [multibyte]
From: |
eliot-dev |
Subject: |
[Eliot-dev] eliot/utils ncurses.cpp [multibyte] |
Date: |
Sat, 14 Jan 2006 21:19:53 +0000 |
CVSROOT: /sources/eliot
Module name: eliot
Branch: multibyte
Changes by: Olivier Teulière <address@hidden> 06/01/14 21:19:53
Modified files:
utils : ncurses.cpp
Log message:
- Fixed a multibyte bug preventing to display the search results
properly
- Do not refresh the whole screen when displaying the search results
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/eliot/utils/ncurses.cpp.diff?only_with_tag=multibyte&tr1=1.19.2.2&tr2=1.19.2.3&r1=text&r2=text
Patches:
Index: eliot/utils/ncurses.cpp
diff -u eliot/utils/ncurses.cpp:1.19.2.2 eliot/utils/ncurses.cpp:1.19.2.3
--- eliot/utils/ncurses.cpp:1.19.2.2 Tue Jan 3 20:42:13 2006
+++ eliot/utils/ncurses.cpp Sat Jan 14 21:19:53 2006
@@ -243,7 +243,7 @@
wstring coord = r.getCoord().toString();
boxPrint(win, i, x + 1, "%3d %s%s %3s",
r.getPoints(),
- r.getWord().c_str(),
+ convertToMb(r.getWord()).c_str(),
string(h - 3 - r.getWordLen(), ' ').c_str(),
convertToMb(coord).c_str());
}
@@ -719,7 +719,7 @@
else
m_state = RESULTS;
m_boxStart = 0;
- clear();
+ clearRect(m_win, 3, 54, 30, 25);
return 1;
// Toggle dots display
- [Eliot-dev] eliot/utils ncurses.cpp [multibyte],
eliot-dev <=