diff options
author | rumpf_a@web.de <> | 2010-03-07 23:40:59 +0100 |
---|---|---|
committer | rumpf_a@web.de <> | 2010-03-07 23:40:59 +0100 |
commit | a2d78c562c3cba6c635f44cd0205dc68d85f2672 (patch) | |
tree | b219364a9e6bf56d29ed388c931eeab6c0a579f3 /lib/pure/strutils.nim | |
parent | 1536415146a84f0057b47e6d32ec7f108a6df7dc (diff) | |
download | Nim-a2d78c562c3cba6c635f44cd0205dc68d85f2672.tar.gz |
addes osinfo_* modules
Diffstat (limited to 'lib/pure/strutils.nim')
-rwxr-xr-x | lib/pure/strutils.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index abca79933..724d00ee9 100755 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -444,8 +444,7 @@ proc addf(s: var string, formatstr: string, a: openarray[string]) = case formatstr[i+1] # again we use the fact that strings # are zero-terminated here of '#': - if not isNil(a[num]): - add s, a[num] + add s, a[num] inc i, 2 inc num of '$': |