Skip to content

Commit

Permalink
fixing the '\b' hexa representation for dialog vals
Browse files Browse the repository at this point in the history
Thanks go to Walter Doekes for reporting on IRC
  • Loading branch information
razvancrainea committed Dec 11, 2013
1 parent 0d47a32 commit 0935742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dialog/dlg_hash.c
Expand Up @@ -1058,7 +1058,7 @@ static inline int internal_mi_print_dlg(struct mi_node *rpl,
if (dv->val.s[i] < 0x20 || dv->val.s[i] >= 0x7F) {
p[j++] = '\\';
switch ((unsigned char)dv->val.s[i]) {
case 0x7: p[j++] = 'b'; break;
case 0x8: p[j++] = 'b'; break;
case 0x9: p[j++] = 't'; break;
case 0xA: p[j++] = 'n'; break;
case 0xC: p[j++] = 'f'; break;
Expand Down

0 comments on commit 0935742

Please sign in to comment.