This is more standard way of incrementing

SVN revision: 25159
This commit is contained in:
titan 2006-08-27 13:41:37 +00:00 committed by titan
parent 6633d4fe18
commit 4b0c695253
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ _e_wid_fsel_favorites_add(void *data1, void *data2)
snprintf(dest_path, PATH_MAX, "%s/.e/e/fileman/favorites/%s-%d",
getenv("HOME"),
basename(current_path), i);
i = i+1;
i++;
}
symlink(current_path, dest_path);
}