glibmm-01-build.diff revision 13811
12378N/A--- examples/compose/main.cc.orig 2008-02-14 18:01:55.520757000 +0800
12378N/A+++ examples/compose/main.cc 2008-02-14 18:02:22.188034000 +0800
12378N/A@@ -36,9 +36,6 @@
12378N/A << std::endl
12378N/A << ustring::compose("%2 is greater than %1.", a, b)
12378N/A << std::endl
12378N/A- << ustring::compose("%1 € are %3 %% of %2 €.", a, b,
12378N/A- ustring::format(std::fixed, std::setprecision(1), a / b * 100.0))
12378N/A- << std::endl
12378N/A << ustring::compose("a : b = [%1|%2]",
12378N/A ustring::format(std::setfill(L'a'), std::setw(i), ""),
12378N/A ustring::format(std::setfill(L'b'), std::setw(40 - i), ""))
13811N/A--- tests/glibmm_ustring_compose/main.cc.orig 2008-08-07 17:29:05.299259187 +0800
13811N/A+++ tests/glibmm_ustring_compose/main.cc 2008-08-07 17:27:57.073869820 +0800
13811N/A@@ -19,7 +19,7 @@
13811N/A int i = 1;
13811N/A std::cout << Glib::ustring::compose("Compose strings: %1 and %2", 'f', &i) << std::endl;
13811N/A
13811N/A- std::cout << Glib::ustring::compose("%1 is lower than 0x%2.", 12, Glib::ustring::format(std::hex, 16)) << std::endl;
13811N/A+ //std::cout << Glib::ustring::compose("%1 is lower than 0x%2.", 12, Glib::ustring::format(std::hex, 16)) << std::endl;
13811N/A
13811N/A //TODO: More tests.
13811N/A