diff options
author | Jiri Vanek <[email protected]> | 2013-10-25 11:10:25 +0200 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-10-25 11:10:25 +0200 |
commit | 2783ad50d2746de5a8aaf302f11e24b11088eaef (patch) | |
tree | 23a35caac4205ef18ea5fb4d03929d229373000b /plugin/icedteanp/IcedTeaPluginUtils.cc | |
parent | 3d77704be0d579ad538e4f5e7150b58a850ac498 (diff) |
All output messages redirected to PLUGIN_{DEBUG,ERROR} macros
Diffstat (limited to 'plugin/icedteanp/IcedTeaPluginUtils.cc')
-rw-r--r-- | plugin/icedteanp/IcedTeaPluginUtils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/icedteanp/IcedTeaPluginUtils.cc b/plugin/icedteanp/IcedTeaPluginUtils.cc index d8ae1ee..b8881ac 100644 --- a/plugin/icedteanp/IcedTeaPluginUtils.cc +++ b/plugin/icedteanp/IcedTeaPluginUtils.cc @@ -399,7 +399,7 @@ IcedTeaPluginUtilities::getUTF16LEString(int length, int begin, std::vector<std: wchar_t c; - if (plugin_debug) printf("Converted UTF-16LE string: "); + PLUGIN_DEBUG("Converted UTF-16LE string: "); result_unicode_str->clear(); for (int i = begin; i < begin+length; i+=2) @@ -413,14 +413,14 @@ IcedTeaPluginUtilities::getUTF16LEString(int length, int begin, std::vector<std: (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9')) { - if (plugin_debug) printf("%c", c); + PLUGIN_DEBUG("%c", c); } result_unicode_str->push_back(c); } // not routing via debug print macros due to wide-string issues - if (plugin_debug) printf(". Length=%d\n", result_unicode_str->length()); + PLUGIN_DEBUG(". Length=%d\n", result_unicode_str->length()); } /* |