text: share code for modifiers
authorRan Benita <ran234@gmail.com>
Sat, 6 Oct 2012 12:15:06 +0000 (14:15 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 6 Oct 2012 19:41:59 +0000 (21:41 +0200)
commit6d580127d89c1f258b533fc7333357c62e7a3b19
tree54dffe3a6f6b8d9d4384b677000d2f8fc9e463a5
parent424de613af4c0a8121213bbee8c4fdd8364612e5
text: share code for modifiers

Add static common functions which take enum mod_type, and change the
existing ones to use them.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/text.c
src/text.h