зеркало из https://github.com/mozilla/gecko-dev.git
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
This commit is contained in:
Родитель
6e49791f86
Коммит
de7c1eaaff
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче