Skip to content

Commit

Permalink
Amend fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saitoha committed Apr 29, 2017
1 parent 944b207 commit 50c37e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MTShell.m
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ - (void) MouseTerm_osc52GetAccess
apr_base64_encode(it, sourceCString, sourceLength);
it += resultLength;
/* Newer version of apr_base64_encode_len() returns the length of including the trailing \0 */
if (resultLength > 0 && *it - 1 == '\0')
if (resultLength > 0 && *(it - 1) == '\0')
it--, allLength--;
memcpy(it, postfix, postfix_len);

Expand Down

0 comments on commit 50c37e4

Please sign in to comment.