"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/editmacros.cpp" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

editmacros.cpp  (bed-3.0.3.src.tar.xz):editmacros.cpp  (bed-3.1.0.src.tar.xz)
skipping to change at line 129 skipping to change at line 129
if(!recordkeysptr) { if(!recordkeysptr) {
const char endname[]="bedrecord-XXXXXX"; const char endname[]="bedrecord-XXXXXX";
char *name=(char *)malloc(BEDSMAXPATH); char *name=(char *)malloc(BEDSMAXPATH);
mytmpname(name,BEDSMAXPATH,endname); mytmpname(name,BEDSMAXPATH,endname);
int len=strlen(name)+1; int len=strlen(name)+1;
name=(char *)realloc(name,len); name=(char *)realloc(name,len);
recordkeysptr=new Keystrokes(name); recordkeysptr=new Keystrokes(name);
} }
else else
recordkeys.flush(); recordkeys.flush();
#ifdef _WIN32 //#ifdef _WIN32
#ifdef __CYGWIN__
char tmp[MAX_PATH]; char tmp[MAX_PATH];
winpath(recordkeys.getname(),tmp); winpath(recordkeys.getname(),tmp);
#else #else
const char *const tmp=recordkeys.getname(); const char *const tmp=recordkeys.getname();
#endif #endif
message("Recording to %s, press Control-t to end",tmp); message("Recording to %s, press Control-t to end",tmp);
isrecording=1; isrecording=1;
return 0; return 0;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)