projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e78be2d
)
division.c warning fix.. Simple change of syntax for something to clean up a compile...
author
nveid
<nveid@yahoo.com>
Fri, 17 Dec 2010 23:47:18 +0000
(23:47 +0000)
committer
nveid
<nveid@yahoo.com>
Fri, 17 Dec 2010 23:47:18 +0000
(23:47 +0000)
Ignore-this:
2e62f65df506134f50201d60753453b4
src/division.c
patch
|
blob
|
history
diff --git
a/src/division.c
b/src/division.c
index 3e36acd029d554bd280fd2a06976b1c02dc0b86e..6139875f17f1e3c5587617e43d00fe9c3f0f8723 100644
(file)
--- a/
src/division.c
+++ b/
src/division.c
@@
-1608,8
+1608,7
@@
create_div(dbref owner, const char *name)
}
Parent(obj) = SDIV(owner).object;
current_state.divisions++;
- strcpy(buf, unparse_object(owner, obj));
- strcpy(buf2, unparse_object(owner, SDIV(obj).object));
+ sprintf(buf, object_header(owner, obj));
notify_format(owner, T("Division created: %s Parent division: %s"),
buf, buf2);
return obj;