Advertisement
chemoelectric

Untitled

Feb 16th, 2013
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. {
  2. char *separator = "";
  3. char *ret = "";
  4. for (int i = 0; i < rows; ++i)
  5. {
  6. ret = x_gc_strjoin (separator, ret, strings[i].u.md_str);
  7. separator = " ";
  8. }
  9. gld->ret = GlyphNameListDeUnicode (ret);
  10.  
  11. /*
  12. char **names = (char **) xzalloc (rows * sizeof (char *));
  13. char *ret;
  14. for (int i = 0; i < rows; ++i)
  15. names[i] = g_strdup (strings[i].u.md_str);
  16. names[rows] = NULL;
  17. ret = g_strjoinv (" ", names);
  18. gld->ret = GlyphNameListDeUnicode (ret);
  19. g_free (ret);
  20. g_strfreev (names);
  21. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement