call_other() auf this_object() ausgebaut.
Dafuer einen Prototyp angelegt.
Change-Id: I58b199c16bff5fc673fe56653b9a7de93ee1cf2f
diff --git a/std/shells/magier/magier_ext.c b/std/shells/magier/magier_ext.c
index 561caa1..e561f9f 100644
--- a/std/shells/magier/magier_ext.c
+++ b/std/shells/magier/magier_ext.c
@@ -14,11 +14,11 @@
#define NEED_PROTOTYPES
#include <player/telnetneg.h>
#include <player/base.h>
+#include <player/comm.h>
#undef NEED_PROTOTYPES
#include <properties.h>
#include <files.h>
#include <events.h>
-#include <player/comm.h>
inherit "/std/shells/magier/parsing";
inherit "/std/shells/magier/upd";
@@ -154,7 +154,7 @@
static string _set_currentdir(string path)
{
Set(P_CURRENTDIR, path);
- ({void})this_object()->modify_prompt(); // Prompt mit neuem Pfad setzen, telnetneg
+ modify_prompt(); // Prompt mit neuem Pfad setzen, telnetneg
return path;
}
@@ -212,7 +212,7 @@
static string _set_prompt(string prompt) {
Set(P_PROMPT, prompt, F_VALUE);
- ({void})this_object()->modify_prompt(); // neuen Prompt setzen (telnetneg.c)
+ modify_prompt(); // neuen Prompt setzen (telnetneg.c)
return prompt;
}