浏览代码

tiny fixes

AlexVinS 11 年之前
父节点
当前提交
5fdc63ab5b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      client/CPlayerInterface.cpp
  2. 1 1
      client/gui/CGuiHandler.cpp

+ 1 - 1
client/CPlayerInterface.cpp

@@ -1601,7 +1601,7 @@ bool CPlayerInterface::ctrlPressed() const
 void CPlayerInterface::update()
 {
 	// Updating GUI requires locking pim mutex (that protects screen and GUI state).
-	// When ending the game, the pim mutex might be hold bo other thread,
+	// When ending the game, the pim mutex might be hold by other thread,
 	// that will notify us about the ending game by setting terminate_cond flag.
 
 	bool acquiredTheLockOnPim = false; //for tracking whether pim mutex locking succeeded

+ 1 - 1
client/gui/CGuiHandler.cpp

@@ -182,7 +182,7 @@ void CGuiHandler::handleEvents()
 			ev = events.front();
 			events.pop();
 		}
-		handleEvent(&ev);
+		this->handleEvent(&ev);
 	}
 }