| Index: utility/bmpblk_utility.cc
|
| diff --git a/utility/bmpblk_utility.cc b/utility/bmpblk_utility.cc
|
| index 742bd9bc4ab480e5943229b48c11a7f31d4d5162..8605dde046fa4d699197a7d238ef4ea5db69875b 100644
|
| --- a/utility/bmpblk_utility.cc
|
| +++ b/utility/bmpblk_utility.cc
|
| @@ -476,7 +476,8 @@ void BmpBlockUtil::pack_bmpblock() {
|
|
|
| /* Compute the ImageInfo offsets from start of BMPBLOCK. */
|
| uint32_t current_offset = sizeof(BmpBlockHeader) +
|
| - sizeof(ScreenLayout) * config_.screens_map.size();
|
| + sizeof(ScreenLayout) * (config_.header.number_of_localizations *
|
| + config_.header.number_of_screenlayouts);
|
| for (unsigned int i = 0; i < config_.image_names.size(); ++i) {
|
| string image_name = config_.image_names[i];
|
| ImageConfig &img = config_.images_map[image_name];
|
|
|