app: Use space, not tab to delimit columns

Tabs were using way to much space
tingping/wmclass
Alexander Larsson 2015-12-18 11:18:24 +01:00
parent 1f059c9f5f
commit dd210ed6cc
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ xdg_app_builtin_ls_remote (int argc, char **argv, GCancellable *cancellable, GEr
for (i = 0; i < n_keys; i++)
{
if (opt_show_details)
g_print ("%s\t%.12s\n", keys[i], (char *)g_hash_table_lookup (names, keys[i]));
g_print ("%s %.12s\n", keys[i], (char *)g_hash_table_lookup (names, keys[i]));
else
g_print ("%s\n", keys[i]);
}

View File

@ -823,7 +823,7 @@ xdg_app_table_printer_print (XdgAppTablePrinter *printer)
char **row = g_ptr_array_index (printer->rows,i);
for (j = 0; row[j] != NULL; j++)
g_print ("%s%-*s", (j == 0) ? "" : "\t", widths[j], row[j]);
g_print ("%s%-*s", (j == 0) ? "" : " ", widths[j], row[j]);
g_print ("\n");
}
}