equal
deleted
inserted
replaced
471 GetString(buffer, str, lastof(buffer)); |
471 GetString(buffer, str, lastof(buffer)); |
472 |
472 |
473 tmp = FormatStringLinebreaks(buffer, maxw); |
473 tmp = FormatStringLinebreaks(buffer, maxw); |
474 num = GB(tmp, 0, 16); |
474 num = GB(tmp, 0, 16); |
475 |
475 |
476 mt = GetCharacterHeight(GB(tmp, 16, 16)); |
476 mt = GetCharacterHeight((FontSize)GB(tmp, 16, 16)); |
477 |
477 |
478 y -= (mt >> 1) * num; |
478 y -= (mt >> 1) * num; |
479 |
479 |
480 src = buffer; |
480 src = buffer; |
481 |
481 |
515 GetString(buffer, str, lastof(buffer)); |
515 GetString(buffer, str, lastof(buffer)); |
516 |
516 |
517 tmp = FormatStringLinebreaks(buffer, maxw); |
517 tmp = FormatStringLinebreaks(buffer, maxw); |
518 num = GB(tmp, 0, 16); |
518 num = GB(tmp, 0, 16); |
519 |
519 |
520 mt = GetCharacterHeight(GB(tmp, 16, 16)); |
520 mt = GetCharacterHeight((FontSize)GB(tmp, 16, 16)); |
521 total_height = (num + 1) * mt; |
521 total_height = (num + 1) * mt; |
522 |
522 |
523 src = buffer; |
523 src = buffer; |
524 |
524 |
525 for (;;) { |
525 for (;;) { |