summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-02-24 17:13:19 +0100
committerSlávek Banko <[email protected]>2013-02-24 17:13:19 +0100
commitea808784e9b2965fc2d9a4c471b987fb62e265ac (patch)
tree86b8e7dcb7ed379c123fc8ba4155167d4fa16cc8
parent5b646dec2843e6d691bec80a202e8517b94f949e (diff)
downloadtdewebdev-ea808784e9b2965fc2d9a4c471b987fb62e265ac.tar.gz
tdewebdev-ea808784e9b2965fc2d9a4c471b987fb62e265ac.zip
Fix unintended rename of link*
-rwxr-xr-xkommander/examples/current/editor-poc.kmdr14
1 files changed, 7 insertions, 7 deletions
diff --git a/kommander/examples/current/editor-poc.kmdr b/kommander/examples/current/editor-poc.kmdr
index 18d8168e..2bc9febf 100755
--- a/kommander/examples/current/editor-poc.kmdr
+++ b/kommander/examples/current/editor-poc.kmdr
@@ -181,8 +181,8 @@ while chrs &lt; maxc do
inlink = true
lb = str_toint(str_find(a, "\"", ch)+1)
le = str_toint(str_find(a, "\"", lb))
- lintdescript = str_mid(a, lb, le-lb)
- //debug("link data - "+lb+" "+le+" "+lintdescript)
+ linkscript = str_mid(a, lb, le-lb)
+ //debug("link data - "+lb+" "+le+" "+linkscript)
elseif str_mid(a, ch, 3) == "&lt;p&gt;" then
lc = lc + 1
cc = 0
@@ -199,11 +199,11 @@ while chrs &lt; maxc do
if inlink == true then
//debug("examining link at row"+lc+" between col "+cp+" and col "+cc)
if (Self.Item(0) == lc &amp;&amp;Self.Item(1) &gt;= cp &amp;&amp; Self.Item(1) &lt;= cc) then
- debug("call "+lintdescript)
- if widgetExists(lintdescript) then
- lintdescript.execute(Self.Item(0),Self.Item(1))
- elseif str_left(lintdescript, 4) == "http" then
- exec("konqueror --profile webbrowsing "+lintdescript)
+ debug("call "+linkscript)
+ if widgetExists(linkscript) then
+ linkscript.execute(Self.Item(0),Self.Item(1))
+ elseif str_left(linkscript, 4) == "http" then
+ exec("konqueror --profile webbrowsing "+linkscript)
endif
break
endif