]> git.openpandora.org Git - pandora-libraries.git/commitdiff
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 11fbc9764bf10275d72a6e764af55e926eb7fbba..33f672e53570c78211ea6cbe30b287efc9bdf784 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;