Lines 1-11
Link Here
|
1 |
--- src/command/complete/e2_complete__path.c 2008-03-22 03:58:43.000000000 +0100 |
|
|
2 |
+++ src/command/complete/e2_complete__path.c 2008-04-03 15:15:09.000000000 +0200 |
3 |
@@ -147,7 +147,7 @@ |
4 |
{ |
5 |
gchar *p1, *p2, *localpath; |
6 |
p1 = g_utf8_next_char (strrchr (word, G_DIR_SEPARATOR)); //the 'real' word to complete |
7 |
- p2 = strndup (word, p1 - word); //prefix for matches |
8 |
+ p2 = g_strndup (word, p1 - word); //prefix for matches |
9 |
if (word[0] == G_DIR_SEPARATOR) |
10 |
{ //word is an absolute path string |
11 |
localpath = F_FILENAME_TO_LOCALE (p2); |