Explorar o código

Fix ptype_dump.c help printf

Serj Kalichev %!s(int64=10) %!d(string=hai) anos
pai
achega
787bacff77
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      clish/ptype/ptype_dump.c

+ 1 - 1
clish/ptype/ptype_dump.c

@@ -12,7 +12,7 @@ void clish_ptype_dump(clish_ptype_t * this)
 	lub_dump_printf("ptype(%p)\n", this);
 	lub_dump_printf("ptype(%p)\n", this);
 	lub_dump_indent();
 	lub_dump_indent();
 	lub_dump_printf("name       : %s\n", clish_ptype__get_name(this));
 	lub_dump_printf("name       : %s\n", clish_ptype__get_name(this));
-	lub_dump_printf("text       : %s\n", clish_ptype__get_text(this));
+	lub_dump_printf("text       : %s\n", LUB_DUMP_STR(clish_ptype__get_text(this)));
 	lub_dump_printf("pattern    : %s\n", LUB_DUMP_STR(this->pattern));
 	lub_dump_printf("pattern    : %s\n", LUB_DUMP_STR(this->pattern));
 	lub_dump_printf("method     : %s\n",
 	lub_dump_printf("method     : %s\n",
 		clish_ptype_method__get_name(this->method));
 		clish_ptype_method__get_name(this->method));