[Miranda-Commits] SF.net SVN: miranda:[8083] trunk/miranda/include/m_system_cpp.h

View: New views
1 Messages — Rating Filter:   Alert me  

[Miranda-Commits] SF.net SVN: miranda:[8083] trunk/miranda/include/m_system_cpp.h

by ghazan :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Revision: 8083
          http://miranda.svn.sourceforge.net/miranda/?rev=8083&view=rev
Author:   ghazan
Date:     2008-07-20 17:25:48 +0000 (Sun, 20 Jul 2008)

Log Message:
-----------
fix for a crash in Options -> Customize -> Fonts

Modified Paths:
--------------
    trunk/miranda/include/m_system_cpp.h

Modified: trunk/miranda/include/m_system_cpp.h
===================================================================
--- trunk/miranda/include/m_system_cpp.h 2008-07-20 17:01:27 UTC (rev 8082)
+++ trunk/miranda/include/m_system_cpp.h 2008-07-20 17:25:48 UTC (rev 8083)
@@ -93,11 +93,19 @@
  LIST<T>( aincr, afunc )
  {}
 
+ #if defined( _STATIC )
  __inline OBJLIST( const OBJLIST& x )
  { items = NULL;
  List_ObjCopy(( SortedList* )&x, ( SortedList* )this, sizeof( T ));
  }
 
+ __inline OBJLIST& operator=( const OBJLIST& x )
+ { destroy();
+ List_ObjCopy(( SortedList* )&x, ( SortedList* )this, sizeof( T ));
+ return *this;
+ }
+ #endif
+
  ~OBJLIST()
  {
  #if !defined( _STATIC )


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Miranda-Commits mailing list
Miranda-Commits@...
https://lists.sourceforge.net/lists/listinfo/miranda-commits
LightInTheBox - Buy quality products at wholesale price