patches/gobby-03-auto_ptr.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 18110 93461edb1490
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- gobby-0.4.4.orig/src/window.cpp	2007年  6月 15日 五 17:59:10
+++ gobby-0.4.4/src/window.cpp	2007年  8月 17日 五 22:05:34
@@ -1330,7 +1330,7 @@
 		m_statusbar.update_connection(str.str() );
 
 		// Start session
-		m_buffer = buffer;
+		m_buffer.reset(buffer.release());
 		obby_start();
 
 		// Session is open, no need to reshow join dialog
@@ -1373,7 +1373,7 @@
 		str << port;
 		m_statusbar.update_connection(str.str() );
 
-		m_buffer = buffer;
+		m_buffer.reset(buffer.release());
 
 		// Start session
 		obby_start();