summary refs log tree commit diff stats
path: root/lib/pure/strutils.nim
diff options
context:
space:
mode:
authorrumpf_a@web.de <>2010-03-07 23:40:59 +0100
committerrumpf_a@web.de <>2010-03-07 23:40:59 +0100
commita2d78c562c3cba6c635f44cd0205dc68d85f2672 (patch)
treeb219364a9e6bf56d29ed388c931eeab6c0a579f3 /lib/pure/strutils.nim
parent1536415146a84f0057b47e6d32ec7f108a6df7dc (diff)
downloadNim-a2d78c562c3cba6c635f44cd0205dc68d85f2672.tar.gz
addes osinfo_* modules
Diffstat (limited to 'lib/pure/strutils.nim')
-rwxr-xr-xlib/pure/strutils.nim3
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 '$':