Skip to content

Commit

Permalink
Change macro name, MAKE_COMMAND to MAKE_CSI_COMMAND
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Oct 5, 2012
1 parent 1c541eb commit 890fd54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions VT100Terminal.m
Expand Up @@ -134,7 +134,7 @@ Simplifed Chinese (EUC_CN)
#define REPORT_VT52 "\033/Z"

#define conststr_sizeof(n) ((sizeof(n)) - 1)
#define MAKE_COMMAND(first, second) ((first << 8) | second)
#define MAKE_CSI_COMMAND(first, second) ((first << 8) | second)


typedef struct {
Expand Down Expand Up @@ -325,7 +325,7 @@ static size_t getCSIParam(unsigned char *datap,
datalen--;
switch (*datap) {
case 'q':
param->cmd = MAKE_COMMAND(' ', 'q');
param->cmd = MAKE_CSI_COMMAND(' ', 'q');
datap++;
datalen--;
return datap - orgp;
Expand Down Expand Up @@ -557,7 +557,7 @@ static VT100TCC decode_csi(unsigned char *datap,
SET_PARAM_DEFAULT(param, 0, 0);
break;

case MAKE_COMMAND(' ', 'q'):
case MAKE_CSI_COMMAND(' ', 'q'):
result.type = VT100CSI_DECSCUSR;
SET_PARAM_DEFAULT(param, 0, 0);
break;
Expand Down

0 comments on commit 890fd54

Please sign in to comment.