Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
pikelang
pike
Commits
afbedbf3
Commit
afbedbf3
authored
Jul 25, 2020
by
Henrik (Grubba) Grubbström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tools.Hilfe: Fixed some warnings.
parent
6eb7fe44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/modules/Tools.pmod/Hilfe.pmod
lib/modules/Tools.pmod/Hilfe.pmod
+2
-2
No files found.
lib/modules/Tools.pmod/Hilfe.pmod
View file @
afbedbf3
...
...
@@ -1476,7 +1476,7 @@ class Evaluator {
//! Adds another output function.
void add_writer(object|function(string : int(0..)) new) {
if(arrayp(write))
write
+
= ({ new });
write =
([array]write) +
({ new });
else if (write)
write = ({ write, new });
else
...
...
@@ -1486,7 +1486,7 @@ class Evaluator {
//! Removes an output function.
void remove_writer(object|function old) {
if(arrayp(write))
write
-
= ({ old });
write =
([array]write) -
({ old });
else
write = 0;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment