Commit Graph

14 Commits

Author SHA1 Message Date
agc
8fcc4625a4 Use bounded string op (snprintf instead of sprintf) for an automatic
array which is used to calculate the maximum width of a scroll entry
item.  Previous use of sprintf would blindly overwrite the stack if
there were more than 100 characters in an entry item.
2003-08-28 11:32:33 +00:00
wiz
83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz
bf37d79146 Fix some typos, noted in PR 19651. 2003-01-04 00:37:17 +00:00
wiz
b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz
c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
tron
bb87fe99b0 Correct section numbers: we don't have "3X", use "3" instead. 2001-04-08 14:13:38 +00:00
wiz
14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
garbled
50a5e07cd6 Add doupdate() call to drawCDKLabel so the widget actually appears on the
screen.
2001-01-24 08:50:36 +00:00
garbled
12a0ea436c Fix a problem in these widgets where they uncondititonally set the
exitType to either vEARLY_EXIT, or vESCAPE_HIT when returning from a bound
function.  This had the unfortunate effect that when you hit F2 to refresh
the screen in sushi, it would exit out immediately after refreshing the
screen.

This modification allows the programmer to still create an exit-causing
bound function, by simply setting the exitType in the function, as was likely
intended by the author.  Many thanks to Charles Hannum for helping me figure
this out.

This should fix problems noted by itojun on tech-userlevel with the function
keys.
2001-01-09 18:41:53 +00:00
garbled
323dece9e0 Fixup all these includes so a -I/usr/include/cdk isn't required. 2001-01-05 01:11:34 +00:00
thorpej
c792f5941a Remote a binary that was accidentally imported. 2001-01-04 22:09:58 +00:00
garbled
b5243a9f8d Add KEY_CR to make up for KEY_ENTER being overridden by curses.h 2001-01-04 20:17:01 +00:00
garbled
619eef692f Patches to allow CDK to compile cleanly, and add KEY_CR, because curses.h
overrides the KEY_ENTER define in curdefs.h
2001-01-04 20:15:29 +00:00
garbled
5940edcfb4 Initial import of CDK 4.9.9. The work to port this was performed by
Charles Hannum, and that is the version being imported:
cdk-4.9.9-20000407-myc3
2001-01-04 19:57:58 +00:00