summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEthan Blanton <elb@pidgin.im>2006-06-16 03:49:14 +0000
committerEthan Blanton <elb@pidgin.im>2006-06-16 03:49:14 +0000
commit08b7bcc0b999fff71dd5fdcdb11f568620872f39 (patch)
treeadc18a85d21ee7cb5e05405134f81288dc1d263d /plugins
parente0c00093000cf6e676f2951daab76acb60c127df (diff)
downloadpidgin-08b7bcc0b999fff71dd5fdcdb11f568620872f39.tar.gz
[gaim-migrate @ 16269]
Fix some spacing bugs and a stupid copy-and-paste error
Diffstat (limited to 'plugins')
-rw-r--r--plugins/tcl/tcl.c4
-rw-r--r--plugins/tcl/tcl_ref.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/tcl/tcl.c b/plugins/tcl/tcl.c
index 2f14e2c065..9300ad9709 100644
--- a/plugins/tcl/tcl.c
+++ b/plugins/tcl/tcl.c
@@ -135,8 +135,8 @@ static int tcl_init_interp(Tcl_Interp *interp)
Tcl_CreateObjCommand(interp, "::gaim::presence", tcl_cmd_presence, (ClientData)NULL, NULL);
Tcl_CreateObjCommand(interp, "::gaim::send_im", tcl_cmd_send_im, (ClientData)NULL, NULL);
Tcl_CreateObjCommand(interp, "::gaim::signal", tcl_cmd_signal, (ClientData)NULL, NULL);
- Tcl_CreateObjCommand(interp, "::gaim::status", tcl_cmd_status_type, (ClientData)NULL, NULL);
- Tcl_CreateObjCommand(interp, "::gaim::status_attr", tcl_cmd_status_type, (ClientData)NULL, NULL);
+ Tcl_CreateObjCommand(interp, "::gaim::status", tcl_cmd_status, (ClientData)NULL, NULL);
+ Tcl_CreateObjCommand(interp, "::gaim::status_attr", tcl_cmd_status_attr, (ClientData)NULL, NULL);
Tcl_CreateObjCommand(interp, "::gaim::status_type", tcl_cmd_status_type, (ClientData)NULL, NULL);
Tcl_CreateObjCommand(interp, "::gaim::unload", tcl_cmd_unload, (ClientData)NULL, NULL);
diff --git a/plugins/tcl/tcl_ref.c b/plugins/tcl/tcl_ref.c
index 3e04c8ce0d..340e68c72b 100644
--- a/plugins/tcl/tcl_ref.c
+++ b/plugins/tcl/tcl_ref.c
@@ -60,7 +60,7 @@ void *gaim_tcl_ref_get(Tcl_Interp *interp, Tcl_Obj *obj, GaimStringref *type)
if (interp) {
Tcl_Obj *error = Tcl_NewStringObj("Bad Gaim reference type: expected ", -1);
Tcl_AppendToObj(error, gaim_stringref_value(type), -1);
- Tcl_AppendToObj(error, "but got ", -1);
+ Tcl_AppendToObj(error, " but got ", -1);
Tcl_AppendToObj(error, gaim_stringref_value(OBJ_REF_TYPE(obj)), -1);
Tcl_SetObjResult(interp, error);
}