Browse Source

Update bitmap_loader_pnm.cpp

punto- 9 years ago
parent
commit
4a5db60843
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/pnm/bitmap_loader_pnm.cpp

+ 1 - 1
drivers/pnm/bitmap_loader_pnm.cpp

@@ -171,7 +171,7 @@ RES ResourceFormatPBM::load(const String &p_path,const String& p_original_path,E
 
 		DVector<uint8_t>::Read r=token.read();
 		int bitwidth = width;
-		if (bidtwidth % 8)
+		if (bitwidth % 8)
 			bitwidth+=8-(bitwidth%8);
 			
 		for(int i=0;i<height;i++) {