[haiku-bugs] Re: [Haiku] #968: create a GUI resource editor

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Thu, 28 Feb 2013 05:30:42 -0000

#968: create a GUI resource editor
----------------------------+---------------------------
   Reporter:  wkornewald    |      Owner:
       Type:  enhancement   |     Status:  new
   Priority:  low           |  Milestone:  Unscheduled
  Component:  Applications  |    Version:  R1/pre-alpha1
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+---------------------------

Comment (by leavengood):

 I think it is really just a warning being treated as an error on these two
 lines:

 {{{
 if (in[i] == '\\' && escChars[in[i]] != ~(char)0) {
     buffer += escChars[in[i]];
 }}}

 But it could probably be fixed by casting the in[i] to an int before using
 it as an array index in escChars:

 {{{
 escChars[(int)in[i]]
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/968#comment:14>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: