lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow wcore to coexist with other windows
[lcore.git]
/
binipstuff.pas
diff --git
a/binipstuff.pas
b/binipstuff.pas
index 7c6fc892039f059b92f98ddd0e937be68bfce154..1f5fed4ecc62ff3ed505d4b39c2035c8a1ecb1a6 100644
(file)
--- a/
binipstuff.pas
+++ b/
binipstuff.pas
@@
-8,9
+8,11
@@
interface
\r
{$include lcoreconfig.inc}
\r
\r
\r
{$include lcoreconfig.inc}
\r
\r
+uses
\r
{$ifndef win32}
\r
{$ifndef win32}
\r
-uses sockets;
\r
+ sockets,
\r
{$endif}
\r
{$endif}
\r
+ pgtypes;
\r
\r
{$ifdef fpc}
\r
{$mode delphi}
\r
\r
{$ifdef fpc}
\r
{$mode delphi}
\r
@@
-382,6
+384,13
@@
begin
end;
\r
end;
\r
end;
\r
end;
\r
end;
\r
end;
\r
+
\r
+ {run length atleast 2 0 words}
\r
+ if (runlength = 1) then begin
\r
+ runlength := 0;
\r
+ runbegin := 0;
\r
+ end;
\r
+
\r
result := '';
\r
for a := 0 to runbegin-1 do begin
\r
if (a <> 0) then result := result + ':';
\r
result := '';
\r
for a := 0 to runbegin-1 do begin
\r
if (a <> 0) then result := result + ':';
\r