AlexVinS hace 11 años
padre
commit
5fdc63ab5b
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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);
 	}
 }