X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame%2Fg_console.pas;h=fcabed7ba667ec84613f3e80cb698ddcfbaac5f5;hb=7d312543a62c1a290f329110d16835c9065f0147;hp=df45e6ab722df26f38a9fde510ed1078c3e12c49;hpb=8b136462c6db8fd51aa6e0ec9604daf38c87eb49;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index df45e6a..fcabed7 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -915,7 +915,7 @@ begin while length(L) > 0 do begin f := Pos(#10, L); - if f < 0 then f := length(L)+1; + if f <= 0 then f := length(L)+1; conmsg(Copy(L, 1, f-1)); Delete(L, 1, f); end;