Viewing Issue Advanced Details
[ Jump to Notes ]
[ Wiki ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0004937 |
[DCSS] Bug Report |
crash |
always |
2011-11-24 18:06 |
2011-11-24 20:30 |
|
Reporter |
duaneg |
View Status |
public |
|
Assigned To |
dolorous |
Priority |
normal |
Resolution |
done |
Local or Remote |
Local |
Status |
resolved |
|
Operating System |
Linux |
Projection |
none |
|
Console or Tiles |
Console |
ETA |
none |
Fixed in Branch |
0.10 ancient branch |
Product Branch |
0.11 ancient branch |
|
Product Version |
0.10-a0-2279-g75c1e25 |
|
Summary |
0004937: Crash in line_reader::killword, wrapcprintf missing argument |
Description |
Do a search, enter a character, then ctrl-w to delete the previous word: the game crashes.
The problem is the wrapcprintf call, near the bottom of the function, is missing a final string argument. See patch attached. |
Steps To Reproduce |
|
Additional Information |
|
Tags |
No tags attached. |
|
Attached Files |
cio.patch [^] (364 bytes) 2011-11-24 18:06 [Show Content] [Hide Content]diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc
index 926f80f..0813ffd 100644
--- a/crawl-ref/source/cio.cc
+++ b/crawl-ref/source/cio.cc
@@ -429,7 +429,7 @@ void line_reader::killword()
calc_pos();
cursorto(0);
- wrapcprintf(wrapcol, "%s%*s", buffer, ew);
+ wrapcprintf(wrapcol, "%s%*s", buffer, ew, "");
cursorto(pos);
}
|
|