summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-21 18:44:33 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-21 18:44:33 +0100
commita3f3b1fd304043364e0f13600db6b44df510bbc1 (patch)
tree89d8095603013437be05fb9ef39727eee72b911c
parent3196520a9fa37ada9aa25f6898a9581803a8e4aa (diff)
Modifying slightly the format of GetName for inputs, in order to be nice with Lua.
-rw-r--r--include/Input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Input.h b/include/Input.h
index 66fa839..861f4dd 100644
--- a/include/Input.h
+++ b/include/Input.h
@@ -41,7 +41,7 @@ class Input : public Handle {
virtual bool CanRead() const { return true; }
virtual bool CanSeek() const;
virtual off_t seek(off_t, int = SEEK_SET) throw (GeneralException);
- virtual String GetName() const { return n; }
+ virtual String GetName() const { return "@" + n; }
virtual ssize_t GetSize() const { return size; }
virtual time_t GetModif() const { return date_modif; }
virtual void SetZ(int = 9) throw (GeneralException);