diff options
| author | lempamo <[email protected]> | 2017-04-01 16:44:05 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-04-01 16:44:05 -0400 |
| commit | 125e35fe984021d892b98acff614e61a2851a9b1 (patch) | |
| tree | 1bcf98afedc2f59762fcd5dc94813398262f9e95 | |
| parent | ecd5324b48a1ed84bdbddb43040cb5ac8aa426a9 (diff) | |
| download | histacom2-125e35fe984021d892b98acff614e61a2851a9b1.tar.gz histacom2-125e35fe984021d892b98acff614e61a2851a9b1.tar.bz2 histacom2-125e35fe984021d892b98acff614e61a2851a9b1.zip | |
simpler new lines
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs index 4c5e8bf..79594ed 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs @@ -47,7 +47,7 @@ namespace TimeHACK.OS.Win95.Win95Apps TitleScreen.username = txtscreenname.Text; login.Hide(); listBox1.Items.Add(TitleScreen.username); - history.Text = "System: " + TitleScreen.username + " has joined the chat." + Environment.NewLine; + history.Text = "System: " + TitleScreen.username + " has joined the chat.\n"; Chat.Start(); } @@ -55,7 +55,7 @@ namespace TimeHACK.OS.Win95.Win95Apps { if (chat_index != 6) { - history.Text += wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + Environment.NewLine; + history.Text += wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + "\n"; switch (wcmp.GetSpecial(resources.GetString("convo"), chat_index)) { case "addsh": @@ -80,11 +80,11 @@ namespace TimeHACK.OS.Win95.Win95Apps { if (correctname) { - history.Text += "SkyHigh: yay you got it right!" + Environment.NewLine; + history.Text += "SkyHigh: yay you got it right!\n"; } else { - history.Text += "SkyHigh: sorry, my name is actually bill" + Environment.NewLine; + history.Text += "SkyHigh: sorry, my name is actually bill\n"; } Chat.Interval = wcmp.GetMessageDelay(resources.GetString("convo"), chat_index); } @@ -93,7 +93,7 @@ namespace TimeHACK.OS.Win95.Win95Apps private void Button2_Click(object sender, EventArgs e) { - if (typechat.Text != "") history.Text += TitleScreen.username + ": " + typechat.Text + Environment.NewLine; + if (typechat.Text != "") history.Text += TitleScreen.username + ": " + typechat.Text + "\n"; typechat.Text = ""; } |
