Changeset 9d22d7c5fa724ebd507c352da2bcb9d0537d4d67

Show
Ignore:
Timestamp:
06/13/07 18:02:11 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
221c05f3dbe883b55e87c9fd42024d5f3c30badd
Children:
4cf90bd8f68971fb0e41b50cf01cf6584a5b89fe
git-committer:
Philipp Kern <phil@0x539.de> / 2007-06-13T16:02:11Z+0000
Message:

2007-06-13 Philipp Kern <phil@…>

  • src/chat.cpp: use Gtk::Entry::delete_text(...) instead of Gtk::Entry::set_text(""); the latter crashes on Windows Vista
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r221c05f r9d22d7c  
     12007-06-13  Philipp Kern  <phil@0x539.de> 
     2 
     3        * src/chat.cpp: use Gtk::Entry::delete_text(...) instead of 
     4          Gtk::Entry::set_text(""); the latter crashes on Windows Vista 
     5 
    162007-06-12  Armin Burgmeier  <armin@0x539.de> 
    27 
  • src/chat.cpp

    rebf3858 r9d22d7c  
    190190        Glib::ustring message = m_ent_chat.get_text(); 
    191191        if(message.empty() ) return; 
    192         m_ent_chat.set_text(""); 
     192        /* set_text("") did crash on Vista */ 
     193        m_ent_chat.delete_text(0, -1); 
    193194 
    194195        // Commands beginning with /