[uim-commit] r691 - trunk/qt

ekato at freedesktop.org ekato at freedesktop.org
Sun Feb 20 21:23:54 PST 2005


Author: ekato
Date: 2005-02-20 21:23:51 -0800 (Sun, 20 Feb 2005)
New Revision: 691

Modified:
   trunk/qt/candwin-qt.cpp
Log:
* qt/candwin-qt.cpp (CandidateWindow::slotStdinActivated) : Use
  same buffer size for IPC as in uim-candwin-gtk.


Modified: trunk/qt/candwin-qt.cpp
===================================================================
--- trunk/qt/candwin-qt.cpp	2005-02-21 03:49:53 UTC (rev 690)
+++ trunk/qt/candwin-qt.cpp	2005-02-21 05:23:51 UTC (rev 691)
@@ -246,9 +246,9 @@
 }
 void CandidateWindow::slotStdinActivated( int fd )
 {
-    char buf[ 1024 ];
+    char buf[ 4096 ];
     int n;
-    n = read( fd, buf, 1024 - 1 );
+    n = read( fd, buf, 4096 - 1 );
     if ( n == 0 )
     {
         close( fd );



More information about the Uim-commit mailing list