diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 11:43:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:45 +0100 |
commit | 302898d09c3b69ec158ab1ab2a41a68585362786 (patch) | |
tree | 33ef2e2474f0c4cd34f52da35293b32351ce0a51 /extensions | |
parent | d7fbf7379c5fbb0d8e43d78d4caa75df1e852535 (diff) |
Remove odd code that does not make any sense
For one, NPPrint.mode must be either NP_FULL or NP_EMBED, so assigning TRUE is
odd. And for another, the value of printInfo->mode is read again in the next
line, so assigning anything to it here looks like an error anyway.
Change-Id: Icd5a7ceabd07ed8b716e2fc90b214b7da5301451
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/nsplugin/source/npshell.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/extensions/source/nsplugin/source/npshell.cxx b/extensions/source/nsplugin/source/npshell.cxx index 42b99ae35474..48fc5396e9c0 100644 --- a/extensions/source/nsplugin/source/npshell.cxx +++ b/extensions/source/nsplugin/source/npshell.cxx @@ -873,7 +873,6 @@ NPP_Print(NPP instance, NPPrint* printInfo) msg.instance_id = (plugin_Int32)instance; if(!sendMsg(&msg, sizeof(PLUGIN_MSG), 1)) debug_fprintf(NSP_LOG_APPEND, "NPP_StreamAsFile send SO_SET_WINDOW return failure \n"); - printInfo->mode = TRUE; /**************************************/ if (printInfo->mode == NP_FULL) { |