[babl] Support more than 100 formats
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] Support more than 100 formats
- Date: Sun, 1 Mar 2015 07:57:32 +0000 (UTC)
commit 3b81a8029f9900f092b32b3a8d2572f6b0eb4f8b
Author: Mukund Sivaraman <muks banu com>
Date: Sun Mar 1 13:26:05 2015 +0530
Support more than 100 formats
tests/babl_fish_path_fitness.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/babl_fish_path_fitness.c b/tests/babl_fish_path_fitness.c
index bab17d6..7ac4f26 100644
--- a/tests/babl_fish_path_fitness.c
+++ b/tests/babl_fish_path_fitness.c
@@ -88,6 +88,7 @@ int main (void)
int i;
for (i = 0; i < babl_formats_count (); i++) printf ("|");printf ("\n");
+ for (i = 0; i < babl_formats_count (); i++) if (i / 100 == 0) printf ("|");else printf ("%i", (i / 100)
% 10);printf ("\n");
for (i = 0; i < babl_formats_count (); i++) if (i / 10 == 0) printf ("|");else printf ("%i", (i / 10) %
10);printf ("\n");
/* for (i=0;i<babl_formats_count ();i++) printf ("│"); printf ("\n");
for (i=0;i<babl_formats_count ();i++) if (i/10==0) printf("│"); else printf ("%i", (i/10)%10); printf
("\n");*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]