summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon Krauter <trustablecode@gmail.com>2019-06-05 07:52:30 +0200
committerGitHub <noreply@github.com>2019-06-05 07:52:30 +0200
commit4570fc07d2bd1d07adb25898ba9db3d8b3925f18 (patch)
tree68bf5a6f4d0b630fbdfe301c7331a1bdc0217983 /examples
parent8b88552444215852f5fe999091d55dc12bd4313f (diff)
downloadNiGui-4570fc07d2bd1d07adb25898ba9db3d8b3925f18.tar.gz
NiGui-4570fc07d2bd1d07adb25898ba9db3d8b3925f18.zip
Fix #41
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/example_02_controls.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_02_controls.nim b/examples/example_02_controls.nim
index bb544f1..59cba00 100755
--- a/examples/example_02_controls.nim
+++ b/examples/example_02_controls.nim
@@ -22,7 +22,7 @@ var textBox = newTextBox("TextBox")
container.add(textBox)
# Add a TextArea control:
-var textArea = newTextArea("TextArea\nLine 2\n")
+var textArea = newTextArea("TextArea\pLine 2\p")
container.add(textArea)
# Add more text to the TextArea: