diff options
author | punto- <ariel@godotengine.org> | 2016-01-11 11:55:20 -0300 |
---|---|---|
committer | punto- <ariel@godotengine.org> | 2016-01-11 11:55:20 -0300 |
commit | 4a5db608432d0cf222efc5300cac78354b3a07d4 (patch) | |
tree | 2e12d59b9a02a2bd62325357a2254544f535f415 /drivers/pnm | |
parent | 9e8f647440bfbdd1b59adb33ea386d89ad8a8f74 (diff) |
Update bitmap_loader_pnm.cpp
Diffstat (limited to 'drivers/pnm')
-rw-r--r-- | drivers/pnm/bitmap_loader_pnm.cpp | 2 |
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++) { |