Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : apps/euphoria
Dir : e17/apps/euphoria/bin
Modified Files:
euphoria
Log Message:
fixed a few potential crashes
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/euphoria/bin/euphoria,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- euphoria 25 Apr 2005 21:52:30 -0000 1.2
+++ euphoria 25 Apr 2005 21:53:28 -0000 1.3
@@ -1,6 +1,6 @@
#!/usr/bin/ruby -w
-# $Id: euphoria,v 1.2 2005/04/25 21:52:30 tsauerbeck Exp $
+# $Id: euphoria,v 1.3 2005/04/25 21:53:28 tsauerbeck Exp $
require "ecore"
require "ecore_x"
@@ -282,8 +282,10 @@
end
def ui_fill_track_info(item)
- buf = "%s - %s" % [item.artist, item.title]
- @edje.send_message(Edje::StringMessage.new(buf))
+ unless item.nil?
+ buf = "%s - %s" % [item.artist, item.title]
+ @edje.send_message(Edje::StringMessage.new(buf))
+ end
end
def ui_refresh_time(time)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs