From 7d6e96fa80373d5eceae6cb3a776c24d4adcb8cd Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 27 Oct 2009 21:34:43 +0000 Subject: TINSEL: Formatting cleanup, remove a dead var, tweaked comment to Get/SetNoBlocking svn-id: r45450 --- engines/tinsel/strres.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines/tinsel/strres.cpp') diff --git a/engines/tinsel/strres.cpp b/engines/tinsel/strres.cpp index 532bc9267f..50eeda4d00 100644 --- a/engines/tinsel/strres.cpp +++ b/engines/tinsel/strres.cpp @@ -288,13 +288,11 @@ int LoadStringResource(int id, int sub, char *pBuffer, int bufferMax) { } } - if (len) - { + if (len) { // the string exists // copy the string to the buffer - if (len < bufferMax) - { + if (len < bufferMax) { memcpy(pBuffer, pText + 1, len); // null terminate -- cgit v1.2.3