1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-09 07:13:43 -05:00

Rename CharWidth() to char_width(). The former name clashes with an API

function in Mac OS.

[originally from svn r2205]
This commit is contained in:
Ben Harris
2002-11-09 21:46:21 +00:00
parent a1125a8052
commit a12a78bcb9
4 changed files with 4 additions and 4 deletions

View File

@ -2997,7 +2997,7 @@ void do_cursor(Context ctx, int x, int y, char *text, int len,
/* This function gets the actual width of a character in the normal font.
*/
int CharWidth(Context ctx, int uc) {
int char_width(Context ctx, int uc) {
HDC hdc = ctx;
int ibuf = 0;