diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-11-16 18:48:24 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-11-16 18:48:24 +0000 |
commit | 923e58809a75cab44150e9d8ed5dd5ab8dbca56e (patch) | |
tree | 492f10ec1699582c10f9656ff9162c9dd789289a | |
parent | b33e5a40c34f9c133ef2722c206d85b34aa9749d (diff) |
changed temprary variable names in I16TOA(should not create conflicts but it's better anyway)
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@173 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r-- | recordmydesktop/include/recordmydesktop.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h index 811389f..74e30b8 100644 --- a/recordmydesktop/include/recordmydesktop.h +++ b/recordmydesktop/include/recordmydesktop.h @@ -675,19 +675,19 @@ int capture_busy, #define I16TOA(number,buffer){\ - int t_num=(number),k=0,i=0;\ + int t_num=(number),__k=0,__i=0;\ char *t_buf=malloc(8);\ t_num=t_num&((2<<15)-1);\ while(t_num>0){\ int digit=t_num%10;\ - t_buf[k]=digit+48;\ + t_buf[__k]=digit+48;\ t_num-=digit;\ t_num/=10;\ - k++;\ + __k++;\ }\ - while(k>0)\ - (buffer)[i++]=t_buf[--k];\ - (buffer)[i]='\0';\ + while(__k>0)\ + (buffer)[__i++]=t_buf[--__k];\ + (buffer)[__i]='\0';\ free(t_buf);\ };\ |