| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Author: alekseys@google.com (Aleksey Shlyapnikov) | 5 // Author: alekseys@google.com (Aleksey Shlyapnikov) |
| 6 | 6 |
| 7 // This code is not actually used, it was copied here for the reference only. | 7 // This code is not actually used, it was copied here for the reference only. |
| 8 // See cld_htmlutils_windows.cc for Windows version of this code. | 8 // See cld_htmlutils_windows.cc for Windows version of this code. |
| 9 | 9 |
| 10 #include "cld/encodings/compact_lang_det/win/cld_htmlutils.h" | 10 #include "cld/encodings/compact_lang_det/win/cld_htmlutils.h" |
| 11 | 11 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 if (entval > 0) { | 24 if (entval > 0) { |
| 25 *plen = runetochar(dst, &entval); | 25 *plen = runetochar(dst, &entval); |
| 26 } else { | 26 } else { |
| 27 // Illegal entity; ignore the '&' | 27 // Illegal entity; ignore the '&' |
| 28 *tlen = 1; | 28 *tlen = 1; |
| 29 *plen = 0; | 29 *plen = 0; |
| 30 } | 30 } |
| 31 // fprintf(stderr,"t%d p%d]\n", *tlen, *plen); | 31 // fprintf(stderr,"t%d p%d]\n", *tlen, *plen); |
| 32 } | 32 } |
| OLD | NEW |