summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-11-02 21:05:24 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-11-02 21:05:24 +0000
commita0a30db4894237d8c94ef8655aea30fc11893cf3 (patch)
treeeb43a2c1aa3e6927593d81ce21d8ba5e48d04f37 /src/fe-text
parent0e7af32922f2f99874dd4cefb8f5f28cac0e9efe (diff)
downloadirssi-a0a30db4894237d8c94ef8655aea30fc11893cf3.zip
Compile with glib1 again (part of patch from peder). g_unichar_*-ifying (making more things unicode aware) will probably have to wait till .11
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4063 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-entry.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/fe-text/gui-entry.c b/src/fe-text/gui-entry.c
index b9332c5e..6fc5eb18 100644
--- a/src/fe-text/gui-entry.c
+++ b/src/fe-text/gui-entry.c
@@ -640,16 +640,16 @@ void gui_entry_transpose_words(GUI_ENTRY_REC *entry)
void gui_entry_capitalize_word(GUI_ENTRY_REC *entry)
{
int pos = entry->pos;
- while (pos < entry->text_len && !g_unichar_isalnum(entry->text[pos]))
+ while (pos < entry->text_len && !i_isalnum(entry->text[pos]))
pos++;
if (pos < entry->text_len) {
- entry->text[pos] = g_unichar_toupper(entry->text[pos]);
+ entry->text[pos] = i_toupper(entry->text[pos]);
pos++;
}
- while (pos < entry->text_len && g_unichar_isalnum(entry->text[pos])) {
- entry->text[pos] = g_unichar_tolower(entry->text[pos]);
+ while (pos < entry->text_len && i_isalnum(entry->text[pos])) {
+ entry->text[pos] = i_tolower(entry->text[pos]);
pos++;
}
@@ -662,11 +662,11 @@ void gui_entry_capitalize_word(GUI_ENTRY_REC *entry)
void gui_entry_downcase_word(GUI_ENTRY_REC *entry)
{
int pos = entry->pos;
- while (pos < entry->text_len && !g_unichar_isalnum(entry->text[pos]))
+ while (pos < entry->text_len && !i_isalnum(entry->text[pos]))
pos++;
- while (pos < entry->text_len && g_unichar_isalnum(entry->text[pos])) {
- entry->text[pos] = g_unichar_tolower(entry->text[pos]);
+ while (pos < entry->text_len && i_isalnum(entry->text[pos])) {
+ entry->text[pos] = i_tolower(entry->text[pos]);
pos++;
}
@@ -679,11 +679,11 @@ void gui_entry_downcase_word(GUI_ENTRY_REC *entry)
void gui_entry_upcase_word(GUI_ENTRY_REC *entry)
{
int pos = entry->pos;
- while (pos < entry->text_len && !g_unichar_isalnum(entry->text[pos]))
+ while (pos < entry->text_len && !i_isalnum(entry->text[pos]))
pos++;
- while (pos < entry->text_len && g_unichar_isalnum(entry->text[pos])) {
- entry->text[pos] = g_unichar_toupper(entry->text[pos]);
+ while (pos < entry->text_len && i_isalnum(entry->text[pos])) {
+ entry->text[pos] = i_toupper(entry->text[pos]);
pos++;
}