patch-geo_drgeo_dialog_cc 479 B

123456789101112131415
  1. $OpenBSD: patch-geo_drgeo_dialog_cc,v 1.1 2017/05/04 19:45:27 espie Exp $
  2. Modern C++ doesn't want to give external linkage to anonymous structs
  3. Index: geo/drgeo_dialog.cc
  4. --- geo/drgeo_dialog.cc.orig
  5. +++ geo/drgeo_dialog.cc
  6. @@ -38,7 +38,7 @@ static GtkWidget *drgeoEditDialog = NULL, *drgeoEntry;
  7. // Used in the style dialod callback, I know it's ugly, but so easy
  8. static drgeoFigure *selected_figure;
  9. -struct
  10. +struct fooclang
  11. {
  12. drgeoPoint mouse;
  13. drgeoFigure *figure;