Menu

#55 Options Menu's adding dot's

open
nobody
quake2.exe (34)
5
2004-01-20
2004-01-20
Stucuk
No

bottom 3 "items" have dots at the start of them.

I have no clue if it has been fixed yet(but i rememmber
reading about it months ago)

File: QMenu.pas

procedure Menu_DrawStringR2L(x, y: integer; string_:
PChar);
var
i: integer;
begin
for i := 0 to strlen(string_) do
re.DrawChar(x - i * 8, y, byte(string_[strlen(string_) -
i - 1]));
end;

should b

procedure Menu_DrawStringR2L(x, y: integer; string_:
PChar);
var
i: integer;
begin
for i := 0 to strlen(string_) -1 do
re.DrawChar(x - i * 8, y, byte(string_[strlen(string_) -
i - 1]));
end;

Note the -1 added in the for loop.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.