summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-19 18:57:30 (GMT)
committerfluxgen <fluxgen>2004-04-19 18:57:30 (GMT)
commit09c0d67fadb098f06c47f925de2308202cb57a92 (patch)
tree415ac41979a67ea7f4d033a09fc49eed19c74073
parentb6fcfd8112afbee624ccd16256586801ebd12a04 (diff)
downloadfluxbox_lack-09c0d67fadb098f06c47f925de2308202cb57a92.zip
fluxbox_lack-09c0d67fadb098f06c47f925de2308202cb57a92.tar.bz2
minor fix for old gcc compiler
-rw-r--r--src/FbTk/TextBox.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc
index 6750aae..50f54fa 100644
--- a/src/FbTk/TextBox.cc
+++ b/src/FbTk/TextBox.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: TextBox.cc,v 1.8 2004/03/18 14:33:09 fluxgen Exp $ 22// $Id: TextBox.cc,v 1.9 2004/04/19 18:57:30 fluxgen Exp $
23 23
24#include "TextBox.hh" 24#include "TextBox.hh"
25#include "Font.hh" 25#include "Font.hh"
@@ -217,7 +217,7 @@ void TextBox::keyPressEvent(XKeyEvent &event) {
217 break; 217 break;
218 case XK_c: 218 case XK_c:
219 cursorHome(); 219 cursorHome();
220 m_text.clear(); 220 m_text = "";
221 adjustStartPos(); 221 adjustStartPos();
222 adjustEndPos(); 222 adjustEndPos();
223 break; 223 break;