Misc little bits of housekeeping and stuff
This commit is contained in:
@@ -330,7 +330,7 @@ cThreeChoice::cThreeChoice
|
||||
void cThreeChoice::init_strings(std::vector<std::string>& strings, unsigned short left){
|
||||
TextStyle style;
|
||||
RECT cur_text_rect = {2, left, 0, 0};
|
||||
size_t total_len, str_width, str_height;
|
||||
size_t total_len = 0, str_width, str_height;
|
||||
for (unsigned int i = 0; i < strings.size(); i++)
|
||||
total_len += string_length(strings[i], style);
|
||||
total_len = total_len * 12;
|
||||
|
Reference in New Issue
Block a user