Alexander Nicolaysen Sørnes wrote:
regedit 1/2: Convert key creation to unicode
Why do you add extra TCHARs then? You replace one or two with WCHAR and then add a lot more TCHARs.
From 2f56e158d55011ac4294d113f844c32fb998a2c2 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= alex@thehandofagony.com Date: Thu, 21 Aug 2008 23:49:34 +0200 Subject: [PATCH] regedit: Convert key creation to unicode
programs/regedit/edit.c | 14 +++++++------- programs/regedit/framewnd.c | 13 +++++++++---- programs/regedit/main.h | 4 ++-- programs/regedit/treeview.c | 14 +++++++++----- 4 files changed, 27 insertions(+), 18 deletions(-)
bye michael
Alexander Nicolaysen Sørnes wrote:
regedit 1/2: Convert key creation to unicode
Why do you add extra TCHARs then? You replace one or two with WCHAR and then add a lot more TCHARs.
Some of them are removed by patch 2/2, others were added to consistently store the treeview text in multi-byte chars (for now). But looking at the treeview code I see that text is stored as unicode in any case; I guess I should have checked that beforehand. Thanks for pointing it out.
Alexander N. Sørnes