summaryrefslogtreecommitdiff
path: root/ProcessList.c
diff options
context:
space:
mode:
authorloderunner <loderunner@63cc0a6c-1f0e-0410-841e-f6a342073da8>2008-03-09 02:33:23 +0000
committerloderunner <loderunner@63cc0a6c-1f0e-0410-841e-f6a342073da8>2008-03-09 02:33:23 +0000
commitebc737cb67dd33a18b5d9d1c47c49e902f77de94 (patch)
treecf1498456001b55157c4ce9dcd516dd5226158e3 /ProcessList.c
parentaa4c15e2d2548afeeb264776d8a59bf4c9407611 (diff)
downloadhtop-ebc737cb67dd33a18b5d9d1c47c49e902f77de94.tar.gz
Add Unicode support, enabled with the --enable-unicode
flag, which requires libncursesw. Thanks to Sergej Pupykin! git-svn-id: svn://svn.code.sf.net/p/htop/code/trunk@123 63cc0a6c-1f0e-0410-841e-f6a342073da8
Diffstat (limited to 'ProcessList.c')
-rw-r--r--ProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessList.c b/ProcessList.c
index 66d6094..04ac6f3 100644
--- a/ProcessList.c
+++ b/ProcessList.c
@@ -283,7 +283,7 @@ void ProcessList_invertSortOrder(ProcessList* this) {
RichString ProcessList_printHeader(ProcessList* this) {
RichString out;
- RichString_init(&out);
+ RichString_initVal(out);
ProcessField* fields = this->fields;
for (int i = 0; fields[i]; i++) {
char* field = Process_printField(fields[i]);