2020-02-11 14:01:33 +01:00
|
|
|
diff -uNr recordmydesktop-0.3.8.1/src/rmd_initialize_data.c recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c
|
|
|
|
--- recordmydesktop-0.3.8.1/src/rmd_initialize_data.c 2008-12-13 17:49:09.000000000 +0200
|
2020-02-11 14:45:45 +01:00
|
|
|
+++ recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c 2020-02-11 15:45:12.372308546 +0200
|
|
|
|
@@ -239,8 +239,8 @@
|
|
|
|
args->device = (char *) malloc(strlen(DEFAULT_AUDIO_DEVICE) + 1);
|
2020-02-11 14:01:33 +01:00
|
|
|
strcpy(args->device, DEFAULT_AUDIO_DEVICE);
|
|
|
|
|
2020-02-11 14:45:45 +01:00
|
|
|
- args->workdir = (char *) malloc(5);
|
2020-02-11 14:01:33 +01:00
|
|
|
- strcpy(args->workdir, "/tmp");
|
2020-02-11 14:45:45 +01:00
|
|
|
+ args->workdir = (char *) malloc(sizeof("@TERMUX_PREFIX@/tmp"));
|
2020-02-11 14:01:33 +01:00
|
|
|
+ strcpy(args->workdir, "@TERMUX_PREFIX@/tmp");
|
|
|
|
|
|
|
|
args->pause_shortcut = (char *) malloc(15);
|
|
|
|
strcpy(args->pause_shortcut, "Control+Mod1+p");
|