diff options
| author | Paul Gilbert | 2017-07-10 21:40:55 -0400 | 
|---|---|---|
| committer | Paul Gilbert | 2017-07-10 21:40:55 -0400 | 
| commit | eb7306286f124f1f9a2285e840a14bba589c2fac (patch) | |
| tree | 905f0b97152f507aed8729963c924399229d4a0e | |
| parent | 4ec3c2875b5699e45a9467c297cd61b04e3e967a (diff) | |
| download | scummvm-rg350-eb7306286f124f1f9a2285e840a14bba589c2fac.tar.gz scummvm-rg350-eb7306286f124f1f9a2285e840a14bba589c2fac.tar.bz2 scummvm-rg350-eb7306286f124f1f9a2285e840a14bba589c2fac.zip  | |
TITANIC: Fix rendering of conversation text input
| -rw-r--r-- | engines/titanic/pet_control/pet_control.cpp | 1 | ||||
| -rw-r--r-- | engines/titanic/support/screen_manager.cpp | 4 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index 7ce2e988d2..94430c6194 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -330,6 +330,7 @@ bool CPetControl::KeyCharMsg(CKeyCharMsg *msg) {  	if (isInputLocked())  		return false; +	makeDirty();  	return _sections[_currentArea]->KeyCharMsg(msg);  } diff --git a/engines/titanic/support/screen_manager.cpp b/engines/titanic/support/screen_manager.cpp index 4e0f0406a0..3082344216 100644 --- a/engines/titanic/support/screen_manager.cpp +++ b/engines/titanic/support/screen_manager.cpp @@ -245,9 +245,9 @@ int OSScreenManager::writeString(int surfaceNum, const Rect &destRect,  	if (surfaceNum >= 0 && surfaceNum < (int)_backSurfaces.size()) {  		surface = _backSurfaces[surfaceNum]._surface;  		bounds = _backSurfaces[surfaceNum]._bounds; -	} else if (surfaceNum == -1) { +	} else if (surfaceNum == SURFACE_PRIMARY) {  		surface = _frontRenderSurface; -		bounds = Rect(0, 0, surface->getWidth(), surface->getHeight()); +		bounds = _frontSurfaceBounds;  	} else {  		return -1;  	}  | 
