Mercurial > pidgin
changeset 22516:01dcbd5333ca
In msimprpl, when converting point size and MySpaceIM-markup font size,
use the "dpi" preference, if any, instead of "port", which probably only
worked by accident, and may be the cause of #3645.
Closes #5259.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Thu, 20 Mar 2008 04:21:57 +0000 |
parents | 89e0d994f010 |
children | c66dd9db3b09 |
files | libpurple/protocols/myspace/markup.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/markup.c Sun Mar 02 20:05:34 2008 +0000 +++ b/libpurple/protocols/myspace/markup.c Thu Mar 20 04:21:57 2008 +0000 @@ -181,7 +181,7 @@ { guint dpi; - dpi = purple_account_get_int(session->account, "port", MSIM_DEFAULT_DPI); + dpi = purple_account_get_int(session->account, "dpi", MSIM_DEFAULT_DPI); return (guint)msim_round((POINTS_PER_INCH * 1. / dpi) * height); @@ -195,7 +195,7 @@ { guint dpi; - dpi = purple_account_get_int(session->account, "port", MSIM_DEFAULT_DPI); + dpi = purple_account_get_int(session->account, "dpi", MSIM_DEFAULT_DPI); return (guint)msim_round((dpi * 1. / POINTS_PER_INCH) * point); }