소스 검색

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()
 void CPlayerInterface::update()
 {
 {
 	// Updating GUI requires locking pim mutex (that protects screen and GUI state).
 	// 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.
 	// that will notify us about the ending game by setting terminate_cond flag.
 
 
 	bool acquiredTheLockOnPim = false; //for tracking whether pim mutex locking succeeded
 	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();
 			ev = events.front();
 			events.pop();
 			events.pop();
 		}
 		}
-		handleEvent(&ev);
+		this->handleEvent(&ev);
 	}
 	}
 }
 }