X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2Fconbuf.pas;h=bc7a8f7d7054803327859f9522af7e5ac138b4be;hb=e2b934c614ee1cc235e632a368576804f8c4f2b4;hp=4bb1bea0af8b0e8620f580785347a117bdb0c037;hpb=58b15f7d5aee8dc280a2e407c11a1f0448eea7ef;p=d2df-sdl.git diff --git a/src/shared/conbuf.pas b/src/shared/conbuf.pas index 4bb1bea..bc7a8f7 100644 --- a/src/shared/conbuf.pas +++ b/src/shared/conbuf.pas @@ -1,9 +1,8 @@ -(* Copyright (C) DooM 2D:Forever Developers +(* Copyright (C) Doom 2D: Forever Developers * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation, version 3 of the License ONLY. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -41,6 +40,7 @@ procedure cbufClear (); var conbufDumpToStdOut: Boolean = false; + conbufConPrefix: Boolean = true; implementation @@ -78,7 +78,11 @@ begin begin for np := 0 to count-1 do begin - if needCon then begin write(stdout, 'CON: '); needCon := false; end; + if needCon then + begin + if conbufConPrefix then write(stdout, 'CON: '); + needCon := false; + end; write(stdout, buf[np]); needCon := (buf[np] = #10); end;