aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-ncurses.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-19 01:10:28 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-19 01:14:06 +0100
commit274fe375264e1767a8dcaea06eaa5d6735e32e37 (patch)
tree55a799daf18cd9dff760ddaefcd6c1d413c8c26f /src/interface-ncurses.h
parent735b4c4b743a774c5d53ab6a8e10f0f8308a925b (diff)
downloadsciteco-274fe375264e1767a8dcaea06eaa5d6735e32e37.tar.gz
rewritten CHR2STR() using compound statement
* fixes compilation on g++ 4.7 where compound literals are suddenly temporaries (from which you cannot get a pointer) * the compound statement (also GCC extension) should ensure that the string is allocated on the stack with automatic lifetime
Diffstat (limited to 'src/interface-ncurses.h')
0 files changed, 0 insertions, 0 deletions