Mercurial > vim
comparison src/gui_motif.c @ 22333:2ccc3e68b617 v8.2.1715
patch 8.2.1715: Motif GUI: commented out code missed {}
Commit: https://github.com/vim/vim/commit/26cd3063b2e2084cfd17989e7584c64f278aaaef
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 20 21:13:27 2020 +0200
patch 8.2.1715: Motif GUI: commented out code missed {}
Problem: Motif GUI: commented out code missed {}.
Solution: Add {} and reenable the code. (similar to https://github.com/vim/vim/issues/6989)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Sep 2020 21:15:05 +0200 |
parents | 858d7ceb1135 |
children | 20ccf5f7dc6d |
comparison
equal
deleted
inserted
replaced
22332:339f74bfd2bd | 22333:2ccc3e68b617 |
---|---|
1240 { | 1240 { |
1241 XtSetArg(args[n], XmNlabelType, XmSTRING); n++; | 1241 XtSetArg(args[n], XmNlabelType, XmSTRING); n++; |
1242 } | 1242 } |
1243 else | 1243 else |
1244 { | 1244 { |
1245 # if 0 // DISABLED - this causes a crash when running "make test_gui" in | |
1246 // Test_colorscheme() | 1245 // Test_colorscheme() |
1247 if (menu->xpm_fname != NULL) | 1246 if (menu->xpm_fname != NULL) |
1247 { | |
1248 XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++; | 1248 XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++; |
1249 # endif | 1249 } |
1250 XtSetArg(args[n], XmNpixmapData, menu->xpm); n++; | 1250 XtSetArg(args[n], XmNpixmapData, menu->xpm); n++; |
1251 XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++; | 1251 XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++; |
1252 } | 1252 } |
1253 return n; | 1253 return n; |
1254 } | 1254 } |