*
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.116.2.2 2010/03/01 20:55:53 heikki Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.116.2.3 2010/03/01 21:27:32 heikki Exp $
*/
#include "postgres_fe.h"
* Otherwise, the cell will not be translated.
*
* If mustfree is true, the cell string is freed by printTableCleanup().
+ * Note: Automatic freeing of translatable strings is not supported.
*/
void
printTableAddCell(printTableContent *const content, const char *cell,
#ifdef ENABLE_NLS
if (translate)
- *content->header = _(*content->header);
+ *content->cell = _(*content->cell);
#endif
if (mustfree)