Sfoglia il codice sorgente

Add missing break in switch statement in BlobIOSystem.h. Fixes #438.

This probably didn't affect anyone for real since no on uses relative seeks.
Alexander Gessler 10 anni fa
parent
commit
b304e7b45c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      code/BlobIOSystem.h

+ 2 - 0
code/BlobIOSystem.h

@@ -120,9 +120,11 @@ public:
 		{
 		case aiOrigin_CUR:
 			cursor += pOffset;
+			break;
 
 		case aiOrigin_END:
 			cursor = file_size - pOffset;
+			break;
 
 		case aiOrigin_SET:
 			cursor = pOffset;