diff options
author | Max Horn | 2009-10-27 21:34:43 +0000 |
---|---|---|
committer | Max Horn | 2009-10-27 21:34:43 +0000 |
commit | 7d6e96fa80373d5eceae6cb3a776c24d4adcb8cd (patch) | |
tree | 8495081fae3577cd1bf4ad632521a57d6b53abc4 /engines/tinsel/strres.cpp | |
parent | 502c48167068ee08e5187ec20708e03bf9dc8ba2 (diff) | |
download | scummvm-rg350-7d6e96fa80373d5eceae6cb3a776c24d4adcb8cd.tar.gz scummvm-rg350-7d6e96fa80373d5eceae6cb3a776c24d4adcb8cd.tar.bz2 scummvm-rg350-7d6e96fa80373d5eceae6cb3a776c24d4adcb8cd.zip |
TINSEL: Formatting cleanup, remove a dead var, tweaked comment to Get/SetNoBlocking
svn-id: r45450
Diffstat (limited to 'engines/tinsel/strres.cpp')
-rw-r--r-- | engines/tinsel/strres.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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 |