Fixed an include and a few nsString defs

This commit is contained in:
rods%netscape.com 1998-09-01 22:48:08 +00:00
Родитель c5913cbbd1
Коммит 5b458783eb
1 изменённых файлов: 3 добавлений и 5 удалений

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

@ -36,7 +36,7 @@
#include "nsIButton.h"
#include "nsITextWidget.h"
#include "nsILookAndFeel.h"
#include "nscolor.h"
#include "nsColor.h"
// XXX For font setting below
#include "nsFont.h"
@ -694,8 +694,7 @@ PRBool CreateRobotDialog(nsIWidget * aParent)
mVerDirTxt->SetBackgroundColor(textBGColor);
mVerDirTxt->SetForegroundColor(textFGColor);
mVerDirTxt->SetFont(font);
nsString verStr(DEBUG_EMPTY);
mVerDirTxt->SetText(verStr);
mVerDirTxt->SetText(DEBUG_EMPTY);
mVerDirTxt->Show(PR_TRUE);
nsString str(DEBUG_EMPTY);
@ -723,8 +722,7 @@ PRBool CreateRobotDialog(nsIWidget * aParent)
mStopAfterTxt->SetFont(font);
mStopAfterTxt->Show(PR_TRUE);
nsString str5000("5000");
mStopAfterTxt->SetText(str5000);
mStopAfterTxt->SetText("5000");
x += 75 + 2;
w = 75;