grim/pidgin

206563c8b5c6
zephyr_tzc_escape_msg and zephyr_tzc_deescape_str refactoring

* Move declarations before implementations. Also slightly change `local_zephyr_normalize` signature
* Early return from functions
* Get `strlen(message)` once
* Convert `while` to `for`
* Simplify escaping
* Remove nulling of last char since `newmsg` already initialized to 0's

Testing Done:
Compile.

Reviewed at https://reviews.imfreedom.org/r/434/
if ENABLE_DOC
subdir('reference')
endif
if ENABLE_GTK
pidgin_man = configure_file(
input : 'pidgin3.1.in',
output : 'pidgin3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif
if enable_consoleui
finch_man = configure_file(
input : 'finch3.1.in',
output : 'finch3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif