summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-11-17 00:29:49 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-11-17 00:29:49 +0000
commit310cea82d554ea06d04b27adcc058988ef83cc83 (patch)
tree1439c78703525078f7b0139253152ee8feb590ec /recordmydesktop
parent9ff09ebf4b2e4dd5c53c98ee55eb03d4444b7c8f (diff)
default working directory changed to /tmp
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@180 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/include/recordmydesktop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h
index 74e30b8..585a3d1 100644
--- a/recordmydesktop/include/recordmydesktop.h
+++ b/recordmydesktop/include/recordmydesktop.h
@@ -420,8 +420,8 @@ int capture_busy,
(args)->v_bitrate=45000;\
(args)->v_quality=63;\
(args)->s_quality=10;\
- (args)->workdir=(char *)malloc(strlen(getenv("HOME"))+1);\
- strcpy((args)->workdir,getenv("HOME"));\
+ (args)->workdir=(char *)malloc(5);\
+ strcpy((args)->workdir,"/tmp");\
}
#define QUERY_DISPLAY_SPECS(display,specstruct){\
© All Rights Reserved