diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-09 07:26:47 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-09 07:26:47 +0000 |
| commit | fcf4fb0933140db08c7bc094abc9edb271c13359 (patch) | |
| tree | f089af1396c3a295e3e4dd722ecac6797c78a8a4 /plugins | |
| parent | baba52d3560eb85017ffa6837b47d1856c01488d (diff) | |
| download | pcsxr-fcf4fb0933140db08c7bc094abc9edb271c13359.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54402 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/dfcdrom/cdrcfg-0.1df/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dfcdrom/cdrcfg-0.1df/main.c b/plugins/dfcdrom/cdrcfg-0.1df/main.c index 4491f721..608d2f7f 100644 --- a/plugins/dfcdrom/cdrcfg-0.1df/main.c +++ b/plugins/dfcdrom/cdrcfg-0.1df/main.c @@ -79,7 +79,7 @@ int is_cdrom(const char *device) { // deliberately ignored old non standard cdroms... ) // If you come up with a better method let me know!! void fill_drives_list(GtkWidget *widget) { - int i = 0; + int i; GtkListStore *store; GtkTreeIter iter; @@ -136,7 +136,7 @@ void fill_drives_list(GtkWidget *widget) { if (devname == NULL || nick == NULL) continue; if (strstr(nick, "cdrom") != NULL) { - strcpy(cdrom_devices[i], devname); + strcpy(cdrom_devices[i++], devname); } } |
