Bug 336965 Useless null check of shell in NPP_SetWindow

r=jst sr=jst
This commit is contained in:
timeless%mozdev.org 2006-06-25 07:17:19 +00:00
Родитель e1d478fb0a
Коммит bb15c48132
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -225,10 +225,8 @@ NPP_SetWindow(NPP instance, NPWindow* window)
#ifdef DEBUG
fprintf(stderr, "Nullplugin: plugin received window resize.\n");
fprintf(stderr, "Window=(%i)\n", (int)window);
if (window) {
fprintf(stderr, "W=(%i) H=(%i)\n",
(int)window->width, (int)window->height);
}
fprintf(stderr, "W=(%i) H=(%i)\n",
(int)window->width, (int)window->height);
#endif
return NPERR_NO_ERROR;
} else {