tlibdraw: fix error in the previous commit - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 03a8ec739af17bc4ba0a2e18ea59b33671c34f2b
(DIR) parent 96025b1ec8916c986fb691db79ae96d4f690c8f1
(HTM) Author: Xiao-Yong Jin <xjin@anl.gov>
Date: Tue, 27 Mar 2018 10:52:45 -0500
libdraw: fix error in the previous commit
Diffstat:
M src/libdraw/openfont.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libdraw/openfont.c b/src/libdraw/openfont.c
t@@ -42,7 +42,7 @@ openfont1(Display *d, char *name)
nambuf = smprint("#9/font/%s", fname+14);
if(nambuf == nil)
return 0;
- *nambuf0 = unsharp(nambuf);
+ nambuf0 = unsharp(nambuf);
if(nambuf0 != nambuf)
free(nambuf);
nambuf = nambuf0;