Fixed an include and a few nsString defs

git-svn-id: svn://10.0.0.236/trunk@9052 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 1998-09-01 22:48:08 +00:00
parent 566557a3f0
commit badc0769db

View File

@ -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;