SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
editors/tpad/patches/patch-src_tpad_save_c
Normal file
11
editors/tpad/patches/patch-src_tpad_save_c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/tpad_save.c.orig Fri May 2 11:13:22 2014
|
||||
+++ src/tpad_save.c Fri May 2 11:13:55 2014
|
||||
@@ -91,7 +91,7 @@ void save_as(){
|
||||
|
||||
if (getcRpath() != NULL) gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(dialog),getcRpath());
|
||||
else {
|
||||
- struct passwd *pw = getpwuid(syscall(__NR_getuid));
|
||||
+ struct passwd *pw = getpwuid(getuid());
|
||||
gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(dialog),(gchar *)pw->pw_dir);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue