ref: 9e504b57b529c927dfc8f00fb7a799303ad2ad9d
parent: e99a1b1349d216434b389dc733945a5eacfb6b63
author: Ali Gholami Rudi <ali@rudi.ir>
date: Fri Mar 23 16:47:32 EDT 2018
tr: resetting font script and language
--- a/tr.c
+++ b/tr.c
@@ -628,10 +628,10 @@
static void tr_ffsc(char **args)
{
struct font *fn = args[1] ? dev_font(dev_pos(args[1])) : NULL;
- if (fn && args[2])
- font_scrp(fn, args[2] ? args[2] : NULL);
- if (fn && args[3])
- font_lang(fn, args[3] ? args[3] : NULL);
+ if (fn)
+ font_scrp(fn, args[2]);
+ if (fn)
+ font_lang(fn, args[3]);
}
static void tr_nm(char **args)