Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson

This commit is contained in:
warren%netscape.com 2006-02-07 01:11:44 +00:00
Родитель 6e49791f86
Коммит de7c1eaaff
1 изменённых файлов: 6 добавлений и 3 удалений

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

@ -26,6 +26,11 @@
#include <commdlg.h>
#include "nsGfxCIID.h"
#include "plstr.h"
#include "nslog.h"
NS_IMPL_LOG(nsDeviceContextSpecFactoryWLog)
#define PRINTF NS_LOG_PRINTF(nsDeviceContextSpecFactoryWLog)
#define FLUSH NS_LOG_FLUSH(nsDeviceContextSpecFactoryWLog)
nsDeviceContextSpecFactoryWin :: nsDeviceContextSpecFactoryWin()
{
@ -98,9 +103,7 @@ NS_IMETHODIMP nsDeviceContextSpecFactoryWin :: CreateDeviceContextSpec(nsIDevice
PL_strcpy(device, &(((char *)devnames)[devnames->wDeviceOffset]));
PL_strcpy(driver, &(((char *)devnames)[devnames->wDriverOffset]));
#ifdef NS_DEBUG
printf("printer: driver %s, device %s\n", driver, device);
#endif
PRINTF("printer: driver %s, device %s\n", driver, device);
nsIDeviceContextSpec *devspec = nsnull;