diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-19 13:26:08 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-19 13:26:08 +0100 |
| commit | c3afe7c8ea7ccb147e30ccbafbfcdad279d479aa (patch) | |
| tree | 94c39a5d2f45cee562c0529e2ffa22e22a369d8b /src/Daemon/PluginManager.cpp | |
| parent | 483f24b17ccfa0aaab8dd9d50b3228475d259bcf (diff) | |
| download | abrt-c3afe7c8ea7ccb147e30ccbafbfcdad279d479aa.tar.gz abrt-c3afe7c8ea7ccb147e30ccbafbfcdad279d479aa.tar.xz abrt-c3afe7c8ea7ccb147e30ccbafbfcdad279d479aa.zip | |
make BZ insert small text attachments inline; move text file detection code
Run-tested
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/PluginManager.cpp')
| -rw-r--r-- | src/Daemon/PluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Daemon/PluginManager.cpp b/src/Daemon/PluginManager.cpp index 3867ec9..f8e8fed 100644 --- a/src/Daemon/PluginManager.cpp +++ b/src/Daemon/PluginManager.cpp @@ -58,9 +58,9 @@ bool LoadPluginSettings(const char *pPath, map_plugin_settings_t& pSettings) std::string value; for (ii = 0; ii < line.length(); ii++) { - if (line[ii] == '\"') + if (line[ii] == '"') { - in_quote = in_quote == true ? false : true; + in_quote = !in_quote; } if (isspace(line[ii]) && !in_quote) { |
