Fix for utility
authorskeezix <skeezix@flotsam-vm.(none)>
Fri, 6 Mar 2009 05:18:06 +0000 (00:18 -0500)
committerskeezix <skeezix@flotsam-vm.(none)>
Fri, 6 Mar 2009 05:18:06 +0000 (00:18 -0500)
lib/pnd_utility.c

index 11fbc97..33f672e 100644 (file)
@@ -24,7 +24,7 @@ char *pnd_expand_tilde ( char *freeable_buffer ) {
     // copy tilde in
     strcat ( temp, home );
     // copy stuff after tilde in
-    strcat ( temp, s + 1 );
+    strcat ( temp, p + 1 );
     // swap ptrs
     free ( s );
     s = temp;