| 14478:a6b831ab1d13 | 14479:ab5407a042eb |
|---|---|
| 2 | 2 |
| 3 #include <stdlib.h> | 3 #include <stdlib.h> |
| 4 #include <string.h> | 4 #include <string.h> |
| 5 #include <wchar.h> | 5 #include <wchar.h> |
| 6 | 6 |
| 7 #ifndef __USE_XOPEN | 7 #include "config.h" |
| 8 | |
| 9 #ifndef HAVE_WCWIDTH | |
| 8 #define wcwidth(X) 1 | 10 #define wcwidth(X) 1 |
| 9 #endif | 11 #endif |
| 10 | 12 |
| 11 void gnt_util_get_text_bound(const char *text, int *width, int *height) | 13 void gnt_util_get_text_bound(const char *text, int *width, int *height) |
| 12 { | 14 { |