Changeset 795a3c12f351dc9133197f327c5cfe3fdbf218a0
- Timestamp:
- 15/08/08 13:08:04
(4 months ago)
- Author:
- Felix Paul Kühne <fkuehne@videolan.org>
- git-committer:
- Felix Paul Kühne <fkuehne@videolan.org> 1218798484 +0200
- git-parent:
[45c4884b89182f79e3cb596304c19dffc3a3737e]
- git-author:
- Felix Paul Kühne <fkuehne@videolan.org> 1218798484 +0200
- Message:
macosx: small hack to display UTF-8 characters correctly in the debug msg log
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r5dcb6f2 |
r795a3c1 |
|
| 1682 | 1682 | o_attr = [NSDictionary dictionaryWithObject: pp_color[i_type] |
|---|
| 1683 | 1683 | forKey: NSForegroundColorAttributeName]; |
|---|
| 1684 | | o_msg = [NSString stringWithFormat: @"%s\n", |
|---|
| 1685 | | p_intf->p_sys->p_sub->p_msg[i_start].psz_msg]; |
|---|
| | 1684 | o_msg = [[NSString stringWithUTF8String: p_intf->p_sys->p_sub->p_msg[i_start].psz_msg] stringByAppendingString: @"\n"]; |
|---|
| 1686 | 1685 | o_msg_color = [[NSAttributedString alloc] |
|---|
| 1687 | 1686 | initWithString: o_msg attributes: o_attr]; |
|---|