summaryrefslogtreecommitdiff
path: root/drivers/pnm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnm')
-rw-r--r--drivers/pnm/bitmap_loader_pnm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnm/bitmap_loader_pnm.cpp b/drivers/pnm/bitmap_loader_pnm.cpp
index cc7f8877be..b57533e521 100644
--- a/drivers/pnm/bitmap_loader_pnm.cpp
+++ b/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++) {