[Scummvm-git-logs] scummvm master -> 11846907a66d093a2f9ed036fecc445f7dae79e3

digitall dgturner at iee.org
Wed Jan 18 06:28:33 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
11846907a6 DIRECTOR: Fix Compiler Warning.


Commit: 11846907a66d093a2f9ed036fecc445f7dae79e3
    https://github.com/scummvm/scummvm/commit/11846907a66d093a2f9ed036fecc445f7dae79e3
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-18T05:35:10Z

Commit Message:
DIRECTOR: Fix Compiler Warning.

Changed paths:
    engines/director/frame.cpp


diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index 265f3ef..1dce311 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -921,6 +921,8 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo
 	}
 
 	switch (textCast->textAlign) {
+	case kTextAlignLeft:
+		break;
 	case kTextAlignCenter:
 		textX = (width / 2) - (textSurface->w / 2) + (padding / 2) + borderSize;
 		break;





More information about the Scummvm-git-logs mailing list